diff options
author | Gordian Edenhofer | 2016-06-30 22:37:51 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2016-06-30 22:37:51 +0200 |
commit | 71048373fdc5bee4c04b22256e0a14e062290c63 (patch) | |
tree | 599d552087f3eb9e7244ab9e5e2118cc1d8a627e /slurm-llnl-git.install | |
parent | 15dd0e6cf000cbcd8985b0c2dcaefab1168786b2 (diff) | |
download | aur-71048373fdc5bee4c04b22256e0a14e062290c63.tar.gz |
upgpkg: slurm-llnl 16.05.1-1
Delete slurm user after (!) changing the ownership of crucial files.
upgpkg: slurm-llnl-dev 16.05.1-1
upgpkg: slurm-llnl-git 16.05.1.1.r182.ge0e89bb-1
Diffstat (limited to 'slurm-llnl-git.install')
-rw-r--r-- | slurm-llnl-git.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slurm-llnl-git.install b/slurm-llnl-git.install index 77a897dd2db3..f91c5e958c88 100644 --- a/slurm-llnl-git.install +++ b/slurm-llnl-git.install @@ -56,10 +56,7 @@ pre_remove() { ## arg 1: the old package version post_remove() { - echo -e "\e[34;1m==>\e[39;1m Removing slurm system user/group... \e[0m" - userdel slurm - - # deleting remnant recusivly + # Deleting remnant recusivly rm -rf /var/lib/slurm-llnl # Change directories which formerly belonged to slurm to be owned by root @@ -67,4 +64,7 @@ post_remove() { # notifying the user of kept dirs [[ -d /etc/slurm-llnl ]] && echo -e "\e[34;1m==>\e[39;1m NOTE: Custom configuration-file(s) in /etc/slurm-llnl/ were kept on your system.\e[0m" [[ -d /var/log/slurm-llnl ]] && chown -R root:root /var/log/slurm-llnl && echo -e "\e[34;1m==>\e[39;1m NOTE: Logfiles were preserved. They reside under /var/log/slurm-llnl .\e[0m" + + echo -e "\e[34;1m==>\e[39;1m Removing slurm system user/group... \e[0m" + userdel slurm } |