diff --git a/lib/utils.sh b/lib/utils.sh index 4ebdd1c..87594e1 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -606,7 +606,6 @@ is_pkg_a_dependency() { # need a 'if' even for a single sentence, due to 'set -u' PKG_DEPENDENCIES="$PKG_DEPENDENCIES $pkg_dep_name" fi - done <<<"$(apt-cache rdepends "$PKG_NAME" | sed -e '1,2d' -e 's/^\ *//g' -e 's/^|//g' | sort -u)" if [ -n "$PKG_DEPENDENCIES" ]; then @@ -672,5 +671,4 @@ manage_service() { fi systemctl "$action" "$service" >/dev/null 2>&1 - }