summaryrefslogtreecommitdiff
path: root/linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-05-23 16:16:24 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-05-23 16:16:24 +0530
commit849a23ebf231e66560e6b1d88059645be0d73c08 (patch)
treec398731ba2865b546e6d46fdec4f95aac7ae708c /linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm
parent161707cc2eab1d76a15684ef105bf1e2ecca154d (diff)
Added prerm and postrm scripts to deb file creation packages
Diffstat (limited to 'linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm')
-rwxr-xr-xlinux/deb/01-fs-hello-kamal/package/DEBIAN/prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm b/linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm
new file mode 100755
index 0000000..95ede71
--- /dev/null
+++ b/linux/deb/01-fs-hello-kamal/package/DEBIAN/prerm
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -e
+
+# Stop associated services before files are removed
+# ...
+
+# prerm script must exit with 0
+exit 0
+