Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 938f64f1e3 |
@@ -101,6 +101,9 @@ detect_libs_dir() {
|
|||||||
if [ -d "/usr/lib64" ] ; then
|
if [ -d "/usr/lib64" ] ; then
|
||||||
libs="$libs /usr/lib64 /lib64"
|
libs="$libs /usr/lib64 /lib64"
|
||||||
fi
|
fi
|
||||||
|
if [ -d "/usr/lib" ] ; then
|
||||||
|
libs="$libs /usr/lib /lib"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ -d "/usr/lib" ] ; then
|
if [ -d "/usr/lib" ] ; then
|
||||||
libs="/usr/lib /lib"
|
libs="/usr/lib /lib"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ check_docker_requirements(){
|
|||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)"
|
groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)"
|
||||||
fi
|
fi
|
||||||
ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) or configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && systemctl start docker || true
|
ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) of configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && systemctl start docker || true
|
||||||
}
|
}
|
||||||
|
|
||||||
die() { echo "$@" 1>&2 ; exit 1; }
|
die() { echo "$@" 1>&2 ; exit 1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user