.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user