diff options
Diffstat (limited to 'linux/deb/01-fs-hello-kamal')
| -rwxr-xr-x | linux/deb/01-fs-hello-kamal/package/DEBIAN/postrm | 8 |
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 |
