summaryrefslogtreecommitdiff
path: root/linux/deb/02-fs-spring-boot-kamal/package/DEBIAN/postrm
blob: 459771a68a6e5e9a9f71c51ac6f5ca9a29097e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e

# Check if the package is being purged (erased entirely including configs)
if [ "$1" = "purge" ]; then
    deluser --quiet fs-spring-boot-kamal || true
fi

# Run commands during simple remove or upgrade
#if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
    
#fi

# postrm script must exit with 0
exit 0