Add new file

This commit is contained in:
2018-03-25 20:27:16 -05:00
parent 820b431a09
commit 6307673606

16
linupx-install.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Wrapper script for install, for easier execution via URL.
if [ "$EUID" -ne 0 ]; then
sudo set -eu
sudo git clone https://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
sudo ln -s /opt/LinUPx/run.sh /usr/local/bin/runup
else
set -eu
git clone https://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
ln -s /opt/LinUPx/run.sh /usr/local/bin/runup
fi
echo ""
echo "To run updates, use the command: runup"
echo ""
echo ""