diff --git a/bin/checkroot.sh b/bin/checkroot.sh index d90a463..8c6fe83 100755 --- a/bin/checkroot.sh +++ b/bin/checkroot.sh @@ -1,5 +1,7 @@ #!/bin/sh +echo -e "checking root" + if [ "$EUID" -ne 0 ]; then echo -e "Please run as root" exit diff --git a/bin/lemp.sh b/bin/lemp.sh index 943c3b2..3470b80 100755 --- a/bin/lemp.sh +++ b/bin/lemp.sh @@ -59,7 +59,7 @@ echo -e ' ' echo -e "Installing PHP 7.0" sleep 3 -apk add php7 php7-fpm php7-pdo_mysql php7-opcache php7-curl php7-mbstring php7-zip php7-xml php7-gd php7-mcrypt php7-imagick php7-phar +apk add php7 php7-fpm php7-pdo_mysql php7-opcache php7-curl php7-mbstring php7-zip php7-xml php7-gd php7-mcrypt php7-imagick php7-phar php7-json echo -e "Configuring PHP" diff --git a/bin/misc.sh b/bin/misc.sh index ce3db2e..a3fd56d 100755 --- a/bin/misc.sh +++ b/bin/misc.sh @@ -27,4 +27,4 @@ TIMEZONE="Europe/Paris" cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime echo "${TIMEZONE}" > /etc/timezone -echo -e "\033[92;1mMisc done \033[Om" +echo -e "Misc done" diff --git a/bin/urbackup.sh b/bin/urbackup.sh index 1bc7fd1..3660e78 100644 --- a/bin/urbackup.sh +++ b/bin/urbackup.sh @@ -33,7 +33,7 @@ fi # Install the dependencies UrBackup needs # apt install build-essential "g++" "libcrypto++-dev" libz-dev -y -apk add linux-headers "g++" zlib zlid-dev "crypto++@testing" "crypto++dev@testing" +apk add linux-headers "g++" zlib zlid-dev "crypto++@testing" "crypto++-dev@testing" ln -s /usr/lib/libcryptopp.so /usr/lib/libcryptopp.so.5.6 diff --git a/install.sh b/install.sh index c349fc3..48455c0 100755 --- a/install.sh +++ b/install.sh @@ -35,4 +35,4 @@ _cwd="$(pwd)" . bin/lemp.sh # . bin/vhost.sh . bin/zabbix.sh -# . bin/urbackup.sh +. bin/urbackup.sh