From 8d24d1b2887a9085e8381039e18598168bb13ac2 Mon Sep 17 00:00:00 2001 From: Cantibra Date: Mon, 26 Jan 2026 20:23:10 +0100 Subject: [PATCH] Adjustment of the installation scripts' logic --- root/DEBIAN/preinst | 1 - root/DEBIAN/prerm | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/root/DEBIAN/preinst b/root/DEBIAN/preinst index 66485ca..6887a02 100644 --- a/root/DEBIAN/preinst +++ b/root/DEBIAN/preinst @@ -36,7 +36,6 @@ case "${1}" in /usr/bin/echo '' ;; upgrade) - /usr/bin/rm --force --recursive '/opt/pironman5' /usr/bin/install --directory '/opt/pironman5' ;; esac diff --git a/root/DEBIAN/prerm b/root/DEBIAN/prerm index f55efaf..2fa6dd0 100644 --- a/root/DEBIAN/prerm +++ b/root/DEBIAN/prerm @@ -18,4 +18,7 @@ case "${1}" in /usr/bin/true fi ;; + upgrade) + /usr/bin/rm --force --recursive '/opt/pironman5' + ;; esac