Update archtitus.sh
This commit is contained in:
parent
bf7fc08b64
commit
23232ab5c8
|
|
@ -8,6 +8,11 @@ if [ "$EUID" -ne 0 ]
|
|||
then echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
# @docker check
|
||||
if grep -sq 'docker\|lxc' /proc/1/cgroup
|
||||
then
|
||||
echo "running in docker container, no supported (at the moment)"
|
||||
fi
|
||||
# Find the name of the folder the scripts are in
|
||||
set -a
|
||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
|
|
|
|||
Loading…
Reference in New Issue