mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 06:44:22 +00:00
update revdep script
This commit is contained in:
@@ -21,7 +21,7 @@ onepkg() {
|
||||
*)
|
||||
continue ;;
|
||||
esac
|
||||
done < <(grep -E '*\.so\.*' $INDEX_DIR/$1/.files | grep -Ev "(opt/|firmware/)")
|
||||
done < <(grep -E '(*\.so\.*|^bin/|^sbin/|^usr/bin/|^usr/sbin/|^usr/libexec)' $INDEX_DIR/$1/.files | grep -Ev "(opt/|firmware/)")
|
||||
popd >/dev/null
|
||||
|
||||
echo -ne "\033[0K"
|
||||
@@ -55,14 +55,14 @@ allpkg() {
|
||||
*)
|
||||
continue ;;
|
||||
esac
|
||||
done < <(grep -E '*\.so\.*' $INDEX_DIR/${allpkgs[pkgs]}/.files | grep -Ev "(opt/|firmware/)")
|
||||
done < <(grep -E '(*\.so\.*|^bin/|^sbin/|^usr/bin/|^usr/sbin/|^usr/libexec)' $INDEX_DIR/${allpkgs[pkgs]}/.files | grep -Ev "(opt/|firmware/|/share/theme/|/share/icons/)")
|
||||
done
|
||||
popd >/dev/null
|
||||
|
||||
echo -ne "\033[0K"
|
||||
|
||||
if [ "${#ALLPKG[@]}" -gt 0 ]; then
|
||||
echo
|
||||
[ -z "$VERBOSE" ] || echo
|
||||
echo "This package(s) need rebuild:"
|
||||
for rebuild in ${ALLPKG[@]}; do
|
||||
echo -e "${color_green}>>>${color_reset} $rebuild"
|
||||
|
||||
Reference in New Issue
Block a user