Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions nethack_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ case "${OS}" in
fi
done
[[ ! -z ${_S_LIST} ]] && sudo emerge -v $(echo ${_S_LIST}) ;;
'Ubuntu')
'Ubuntu') ;;
'Debian GNU/Linux')
sudo apt-get update
sudo apt-get install -y autoconf bison build-essential bsdmainutils \
flex gcc git groff libncursesw5-dev libsqlite3-dev make ncurses-dev \
Expand Down Expand Up @@ -79,7 +80,8 @@ case "${OS}" in
sudo sed -i -e '/^[ \t]only/s/only/#only/' /etc/xinetd.conf
TELNETD="telnetd"
XINETD="sudo /etc/init.d/xinetd restart" ;;
'Ubuntu')
'Ubuntu') ;;
'Debian GNU/Linux')
tar cf - /lib/x86_64-linux-gnu/libncurses* |\
sudo tar xf - -C /opt/nethack/${DOMAIN}/
sudo chmod 777 /opt/nethack/${DOMAIN}/nh343/save
Expand Down