This commit is contained in:
2018-10-02 08:37:58 -05:00
parent 4873b26787
commit fd43b0fd9c

View File

@@ -1,7 +1,6 @@
#!/bin/bash
# Wrapper script for install, for easier execution via URL.
if [ "$EUID" -ne 0 ]; then PREFIX='sudo'; else PREFIX=''; fi
if type apt &>/dev/null; then
@@ -23,6 +22,8 @@ else
ATYPE="unknown"
fi
echo -e "${LGreen}LinUPx Installation Script"
$PREFIX $APTFUNC -y install wget curl git
$PREFIX set -eu