Check if pkg INSTALL/REMOVE metadata scripts are executable rather than
readable, to ensure scripts can be executed. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090825040559-nkkzvaf59r10asj7
This commit is contained in:
@ -215,7 +215,7 @@ xbps_remove_pkg(const char *pkgname, const char *version, bool update)
|
||||
/*
|
||||
* Find out if the REMOVE file exists.
|
||||
*/
|
||||
if (access(buf, R_OK) == 0) {
|
||||
if (access(buf, X_OK) == 0) {
|
||||
/*
|
||||
* Run the pre remove action.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user