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 | |
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
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | slurm-llnl-git.install | 8 |
3 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = slurm-llnl-git pkgdesc = Simple Linux Utility for Resource Management (development version) - pkgver = 16.05.0.1.r110.g71f6cfd + pkgver = 16.05.1.1.r182.ge0e89bb pkgrel = 1 url = http://www.schedmd.com install = slurm-llnl-git.install @@ -25,7 +25,7 @@ pkgbase = slurm-llnl-git optdepends = numactl: NUMA support in the task/affinity plugin optdepends = ncurses: adds the smap command optdepends = gtk2: enables the sview command, a simple graphical frontend - provides = slurm-llnl=16.05.0.1.r110.g71f6cfd + provides = slurm-llnl=16.05.1.1.r182.ge0e89bb conflicts = slurm-llnl conflicts = slurm-llnl-dev backup = etc/default/slurm-llnl @@ -3,7 +3,7 @@ # Submitter: Fredrik Tegenfeldt <fredrik.tegenfeldt@unige.ch> pkgname=slurm-llnl-git -pkgver=16.05.0.1.r110.g71f6cfd +pkgver=16.05.1.1.r182.ge0e89bb pkgrel=1 pkgdesc="Simple Linux Utility for Resource Management (development version)" arch=('i686' 'x86_64') 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 } |