mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-04-07 19:10:26 +00:00
fix how scratch read masked packages
This commit is contained in:
2
scratch
2
scratch
@@ -697,7 +697,7 @@ scratch_remove() {
|
||||
|
||||
outdatepkg() {
|
||||
for pkg in $(allinstalled); do
|
||||
if [ -f "$MASK_FILE" ] && [ $(grep -Ev '^(#|$| )' $MASK_FILE | grep $pkg) ]; then
|
||||
if [ -f "$MASK_FILE" ] && [ $(grep -Ev '^(#|$| )' $MASK_FILE | grep -w $pkg) ]; then
|
||||
continue
|
||||
fi
|
||||
[ -e "$PKGDB_DIR/$pkg/.lock" ] && continue
|
||||
|
||||
Reference in New Issue
Block a user