Browse Source

working on installer

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
d1bc2b8397
  1. 7
      install-chunkymap-on-ubuntu.sh

7
install-chunkymap-on-ubuntu.sh

@ -21,13 +21,14 @@ fi
cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-regen.py" "$CHUNKYMAP_DEST/" cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-regen.py" "$CHUNKYMAP_DEST/"
#chmod +x "$CHUNKYMAP_DEST/chunkymap-regen.py" #chmod +x "$CHUNKYMAP_DEST/chunkymap-regen.py"
cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-regen.sh" "$CHUNKYMAP_DEST/" cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-regen.sh" "$CHUNKYMAP_DEST/"
chmod +x "$CHUNKYMAP_DEST/chunkymap-regen.sh"
cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-cronjob" "$CHUNKYMAP_DEST/" cp -f "$CHUNKYMAP_INSTALLER_DIR/chunkymap-cronjob" "$CHUNKYMAP_DEST/"
chmod +x "$CHUNKYMAP_DEST/chunkymap-cronjob"
cp -f "$CHUNKYMAP_INSTALLER_DIR/set-minutely-crontab-job.sh" "$CHUNKYMAP_DEST/" cp -f "$CHUNKYMAP_INSTALLER_DIR/set-minutely-crontab-job.sh" "$CHUNKYMAP_DEST/"
chmod +x "$CHUNKYMAP_DEST/set-minutely-crontab-job.sh"
cd "$CHUNKYMAP_INSTALLER_DIR" cd "$CHUNKYMAP_INSTALLER_DIR"
python replace-with-current-user.py # the py file only manipulates the minetest/util folder python replace-with-current-user.py # the py file only manipulates the minetest/util folder
# so chmod those files AFTER running the py above:
chmod +x "$CHUNKYMAP_DEST/chunkymap-regen.sh"
chmod +x "$CHUNKYMAP_DEST/chunkymap-cronjob"
chmod +x "$CHUNKYMAP_DEST/set-minutely-crontab-job.sh"
sudo apt-get install python-numpy python-pil sudo apt-get install python-numpy python-pil

Loading…
Cancel
Save