update.sh: Do not exit GUI cause the command fails

master
Felix Stupp 4 years ago
parent f8729f771c
commit c10e829a6c
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -5,8 +5,6 @@ GIT_URL="https://git.banananet.work/zocker/imageviewer.git"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )";
source "$DIR/_common.sh";
echo "Beende grafische Benutzeroberfläche ...";
systemctl stop lightdm;
echo "Lade Updates herunter ..."
dir="$(mktemp -d)";
if ! git clone --depth 1 "$GIT_URL" "$dir"; then

Loading…
Cancel
Save