libxbps: pkg remove: never remove base symlinks in the root directory.

The /bin, /sbin, /lib, /lib32, /lib64, /var/run symlinks should never be removed
in Void, so be safe and ignore the removal of them.

Added another test to the testsuite to verify its correctness.
This commit is contained in:
Juan RP
2013-11-28 10:27:36 +01:00
parent 5d63f6f442
commit dce26db1de
5 changed files with 75 additions and 6 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.27 (???):
* libxbps: make sure that base symlinks in the root directory are never removed,
due to /usr switch in Void. This will also be harmless in other systems.
* The testsuite now contains more tests than ever and will be extended as new
issues appear.