Fixed post-install script and added post-install

This commit is contained in:
santic-zombie
2024-06-22 23:09:45 +03:00
parent cf1221e089
commit 08154d989c
3 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
rm -rf /var/lib/one /var/run/one /var/log/one /var/lock/one
userdel -r oneadmin && echo ">> User 'oneadmin' has been removed."
groupdel cloud && echo ">> Group 'cloud' has been removed."
exit 0