summaryrefslogtreecommitdiff
path: root/linux/deb/01-fs-hello-kamal/package
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-14 08:27:56 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-14 08:27:56 +0530
commit2b051109a4d2567311c49095b39ab12b5ff8b587 (patch)
treef88c3249c9e0ea93d543c524c5ac0afc33d8eef8 /linux/deb/01-fs-hello-kamal/package
parentf0001c5c8d8a33729b93d8d6e10d3af40bfabed6 (diff)
Fixed postrm script of linux/deb/01-fs-hello-kamal
Diffstat (limited to 'linux/deb/01-fs-hello-kamal/package')
-rwxr-xr-xlinux/deb/01-fs-hello-kamal/package/DEBIAN/postrm8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm b/linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm
index b188553..846ad6c 100755
--- a/linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm
+++ b/linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm
@@ -2,16 +2,16 @@
set -e
# Check if the package is being purged (erased entirely including configs)
-if [ "$1" = "purge" ]; then
+#if [ "$1" = "purge" ]; then
# Delete configuration files, logs, or created users
# rm -rf /var/log/your_package/
#deluser --quiet your_user || true
-fi
+#fi
# Run ldconfig if your package installs shared libraries
-if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
+#if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
# ldconfig
-fi
+#fi
# postrm script must exit with 0
exit 0