diff options
author | Tharre <tharre3@gmail.com> | 2021-12-07 07:26:28 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2021-12-18 21:37:05 +0100 |
commit | cb82f0af6781d71b6cbed5af55cef56555f837a2 (patch) | |
tree | 850b3e2eb3f7d91c7377a8e074774f49d0027d5a /spigot/spigot.install | |
parent | 3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b (diff) | |
download | pkgbuilds-cb82f0af6781d71b6cbed5af55cef56555f837a2.tar.gz pkgbuilds-cb82f0af6781d71b6cbed5af55cef56555f837a2.tar.xz pkgbuilds-cb82f0af6781d71b6cbed5af55cef56555f837a2.zip |
Remove old packages
Diffstat (limited to 'spigot/spigot.install')
-rw-r--r-- | spigot/spigot.install | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spigot/spigot.install b/spigot/spigot.install deleted file mode 100644 index 20067d1..0000000 --- a/spigot/spigot.install +++ /dev/null @@ -1,21 +0,0 @@ -post_install() { - getent group craftbukkit >/dev/null 2>&1 || groupadd craftbukkit - getent passwd craftbukkit >/dev/null 2>&1 || useradd -g craftbukkit -d /srv/craftbukkit -s /bin/bash craftbukkit - chown -R craftbukkit:craftbukkit /srv/craftbukkit/ -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - if getent passwd craftbukkit >/dev/null 2>&1; then - userdel craftbukkit - fi - if getent group craftbukkit >/dev/null 2>&1; then - groupdel craftbukkit - fi - - echo "There are probably still files in /srv/craftbukkit, you must remove those manually!" >&2 -} - |