forked from pool/filesystem
stop destroying running updates during update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/filesystem?expand=0&rev=104
This commit is contained in:
parent
b14e4e58d3
commit
e5d7e34dfb
@ -187,10 +187,10 @@ test -n "$NON_EXISTING_DIR" && {
|
|||||||
%pre -p <lua>
|
%pre -p <lua>
|
||||||
os.remove ("/usr/include/X11")
|
os.remove ("/usr/include/X11")
|
||||||
os.remove ("/usr/lib/X11")
|
os.remove ("/usr/lib/X11")
|
||||||
os.execute ("mountpoint -q /var/lock && umount -l /var/lock")
|
#os.execute ("mountpoint -q /var/lock && umount -l /var/lock")
|
||||||
os.rename ("/var/lock","/var/lock.migrated")
|
#os.rename ("/var/lock","/var/lock.migrated")
|
||||||
os.execute ("mountpoint -q /var/run && umount -l /var/run")
|
#os.execute ("mountpoint -q /var/run && umount -l /var/run")
|
||||||
os.rename ("/var/run","/var/run.migrated")
|
#os.rename ("/var/run","/var/run.migrated")
|
||||||
|
|
||||||
%files -f filesystem.list
|
%files -f filesystem.list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user