From 420a1fe0a1f64f5268d7924ff5f3bfa249b3dcb5 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 3 Aug 2021 18:41:21 +0400 Subject: [PATCH] test htplip annoyance --- README.md | 2 +- src/main | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a809495..8908130 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ utilisé lors des Instalalis dispensés par Libre.re install one-liner ----------------- -`sudo apt install wget && wget -q https://git.artcode.re/pvincent/debian-gnome/raw/master/src/main -O /tmp/main && bash /tmp/main` \ No newline at end of file +`curl -s https://git.artcode.re/pvincent/debian-gnome/raw/master/src/main | bash` \ No newline at end of file diff --git a/src/main b/src/main index af18444..057ca70 100755 --- a/src/main +++ b/src/main @@ -81,8 +81,11 @@ done echo "## remove hplip annoyance" echo "=========================" -sudo rm /etc/xdg/autostart/hplip-systray.desktop - +if [[ -f /etc/xdg/autostart/hplip-systray.desktop ]]; then + sudo rm /etc/xdg/autostart/hplip-systray.desktop +else + echo "hplip annoyance already removed!" +fi echo "## debian-bash" echo "=============="