From 2b051109a4d2567311c49095b39ab12b5ff8b587 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sun, 14 Jun 2026 08:27:56 +0530 Subject: Fixed postrm script of linux/deb/01-fs-hello-kamal --- linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm') 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 -- cgit v1.2.3