Changeset 35 for bootstrapper
- Timestamp:
- Jun 2, 2014, 2:42:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootstrapper/bootstrap.sh
r34 r35 12 12 INSTALLOPTIONALDEPS=0 13 13 14 DEPENDENCIES="gcc wget tr xvfb mono-runtime rsync xmlstarlet gcc"14 DEPENDENCIES="gcc wget tr rsync xmlstarlet" 15 15 16 16 if [ -n "$(command -v apt-get)" ]; then … … 27 27 28 28 if [ $IS64BIT -eq 1 ]; then 29 DEPENDENCIES="$DEPENDENCIES lib32gcc1 wine:i386" 30 else 31 DEPENDENCIES="$DEPENDENCIES wine" 29 DEPENDENCIES="$DEPENDENCIES lib32gcc1" 32 30 fi 33 31 … … 61 59 echo "the website regarding the prerequisites" 62 60 echo "(https://7dtd.illy.bz)." 61 echo 62 echo "Also make sure you have the 32 Bit version of libgcc installed!" 63 echo 63 64 echo "Do you want to continue anyway?" 64 65 select yn in "Yes" "No"; do … … 114 115 return 115 116 fi 117 118 ldconfig -p | grep gcc | grep -v 64 > /dev/null 119 if [ $? -ne 0 ]; then 120 echo "There probably is no 32 Bit version of libgcc installed." 121 echo "Do you want to continue?" 122 select yn in "Yes" "No"; do 123 case $yn in 124 Yes) 125 break;; 126 No) 127 echo "Aborting." 128 exit 0 129 ;; 130 esac 131 done 132 fi 116 133 117 134 echo 1 … … 154 171 chown root.root start-stop-daemon 155 172 chmod 0755 start-stop-daemon 173 174 echo -e "\n=============================================================\n\n" 175 } 176 177 installLinuxEngine() { 178 echo -e "Downloading and installing Linux engine\n" 179 wget -nv http://illy.bz/fi/7dtd/linux_files.tar.gz -O /tmp/linux_files.tar.gz 180 tar --touch -xzf /tmp/linux_files.gz -C /home/sdtd/ 181 182 chown sdtd.sdtd /home/sdtd/linux_files 183 chmod 0644 /home/sdtd/linux_files 184 chmod 0755 /home/sdtd/linux_files/engine/7DaysToDie.x86 156 185 157 186 echo -e "\n=============================================================\n\n" … … 229 258 setupUser 230 259 installManagementScripts 260 installLinuxEngine 231 261 setSteamLoginData 232 262 installSteamCmdAndSDTD
Note:
See TracChangeset
for help on using the changeset viewer.