From 353fb4f4bff0d11a6be6a4e0a8b24c931c23e5ac Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Thu, 2 May 2024 11:30:13 +0530 Subject: [PATCH] chore(users): add post installation script! --- snigdhaos-waterfox-config/PKGBUILD | 1 + .../snigdhaos-waterfox-config.install | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 snigdhaos-waterfox-config/snigdhaos-waterfox-config.install diff --git a/snigdhaos-waterfox-config/PKGBUILD b/snigdhaos-waterfox-config/PKGBUILD index 27e18aa0..a995621f 100644 --- a/snigdhaos-waterfox-config/PKGBUILD +++ b/snigdhaos-waterfox-config/PKGBUILD @@ -9,6 +9,7 @@ license=("MIT") depends=('snigdhaos-tabliss-config' 'waterfox-bin' 'profile-sync-daemon') source=("psd.conf" "$pkgname.tar.gz") +install="${pkgname}.install" package() { install -dm 755 "${pkgdir}/etc/skel" diff --git a/snigdhaos-waterfox-config/snigdhaos-waterfox-config.install b/snigdhaos-waterfox-config/snigdhaos-waterfox-config.install new file mode 100644 index 00000000..70bffca5 --- /dev/null +++ b/snigdhaos-waterfox-config/snigdhaos-waterfox-config.install @@ -0,0 +1,7 @@ +post_install() { + echo -e "\n** The files have been installed in /etc/skel/.waterfox/ **\n" +} + +post_upgrade() { + post_install +} \ No newline at end of file