From ed1837534a0a9a1ab8f8291cff73be031a5d493b Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 23 May 2026 14:50:05 +0530 Subject: Dir rename --- linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst (limited to 'linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst') diff --git a/linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst b/linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst new file mode 100755 index 0000000..978306d --- /dev/null +++ b/linux/deb/01-fs-hello-kamal/package/DEBIAN/postinst @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e + +if [ "$1" == "configure" ] && [ -z "$2" ]; then + # Code here executes only during package install (but not during upgrade) + echo "postinst script is running and this line gets printed during first install of the package" +fi + +echo "postinst script is running and this line gets printed during install or upgrade of the package." -- cgit v1.2.3