mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
make openafs uninstallable even if /afs is missing
The preuninstall scriptlet of the openafs RPM removes /afs. If, for whatever reason, that directory does not exist, the scriptlet will fail and hence break the deinstallation of the openafs package. The proposed patch makes the scriptlet evaluate to true even if the /afs has been removed by some other means and allows the package to be uninstalled. Change-Id: I3340c94521e15c56fe10840aff7b0b1080009c10 Reviewed-on: http://gerrit.openafs.org/10581 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
8b8e8c2ab1
commit
0c5d403076
@ -1378,6 +1378,7 @@ fi
|
||||
%preun
|
||||
if [ $1 = 0 ] ; then
|
||||
[ -d /afs ] && rmdir /afs
|
||||
:
|
||||
fi
|
||||
|
||||
%preun client
|
||||
|
Loading…
Reference in New Issue
Block a user