Keep /usr/sbin if found as obsolete, it's a symlink in void.
This commit is contained in:
@@ -80,6 +80,7 @@ xbps_find_pkg_obsoletes(struct xbps_handle *xhp,
|
||||
const char *basesymlinks[] = {
|
||||
"./bin",
|
||||
"./sbin",
|
||||
"./usr/sbin",
|
||||
"./lib",
|
||||
"./lib32",
|
||||
"./lib64",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2009-2014 Juan Romero Pardines.
|
||||
* Copyright (c) 2009-2015 Juan Romero Pardines.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -106,6 +106,7 @@ remove_pkg_files(struct xbps_handle *xhp,
|
||||
const char *basesymlinks[] = {
|
||||
"/bin",
|
||||
"/sbin",
|
||||
"/usr/sbin",
|
||||
"/lib",
|
||||
"/lib32",
|
||||
"/lib64",
|
||||
|
||||
Reference in New Issue
Block a user