git://git.onelab.eu
/
pl_sshd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preun commands should be run when upgrading as well as uninstalling a
[pl_sshd.git]
/
pl_sshd.spec
diff --git
a/pl_sshd.spec
b/pl_sshd.spec
index
18fddff
..
8729eab
100644
(file)
--- a/
pl_sshd.spec
+++ b/
pl_sshd.spec
@@
-13,7
+13,7
@@
SSH server configuration for PlanetLab nodes. Configures an automounted
directory as source for authorized_keys files and points sshd to that
directory.
directory as source for authorized_keys files and points sshd to that
directory.
-$Header: /cvs/pl_sshd/pl_sshd.spec,v 1.
2 2003/12/01 14:56:00
sjm-pl_sshd Exp $.
+$Header: /cvs/pl_sshd/pl_sshd.spec,v 1.
3 2003/12/01 21:22:53
sjm-pl_sshd Exp $.
%prep
%setup
%prep
%setup
@@
-80,7
+80,7
@@
fi
%preun
RUNLEVEL=`/sbin/runlevel`
%preun
RUNLEVEL=`/sbin/runlevel`
-if [ "$1"
= 0
]; then
+if [ "$1"
-ge "0"
]; then
#
# stop pl_sshd, remove it from rcX.d init dirs, remove link
# to sshd's pam config
#
# stop pl_sshd, remove it from rcX.d init dirs, remove link
# to sshd's pam config