Created
July 15, 2021 18:59
-
-
Save husjon/a99c171ed3867340e52d9ba9cee85e7b to your computer and use it in GitHub Desktop.
Synology list packages that has dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
for pkg in $(synopkg list --name); do | |
for dep_pkg in $(synopkg list --depend-on $pkg --name); do | |
echo "$pkg -> $dep_pkg"; | |
done | |
done | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output: