summaryrefslogtreecommitdiff
path: root/patch/armbian2shopno
diff options
context:
space:
mode:
Diffstat (limited to 'patch/armbian2shopno')
-rw-r--r--patch/armbian2shopno6
1 files changed, 5 insertions, 1 deletions
diff --git a/patch/armbian2shopno b/patch/armbian2shopno
index dc77a7b..e814586 100644
--- a/patch/armbian2shopno
+++ b/patch/armbian2shopno
@@ -6,6 +6,7 @@ fi
SWDIR="$(mktemp -d /tmp/.a2s.XXXXXXXXX)"
trap 'rm -rf "$SWDIR"' TERM INT QUIT EXIT
+cd "$SWDIR"
apt install curl
@@ -22,4 +23,7 @@ deb http://builder.jadupc.com/deb shopno main tanix-tx6
EOF
apt update
-apt purge -y armbian-bullseye-desktop-xfce
+if dpkg -s armbian-bullseye-desktop-xfce > /dev/null 2>&1; then
+ apt purge -y armbian-bullseye-desktop-xfce
+fi
+apt install -y base-files distro-info-data-shopno python-apt-common-shopno