Skip to content

Instantly share code, notes, and snippets.

@husjon
Created July 15, 2021 18:59
Show Gist options
  • Save husjon/a99c171ed3867340e52d9ba9cee85e7b to your computer and use it in GitHub Desktop.
Save husjon/a99c171ed3867340e52d9ba9cee85e7b to your computer and use it in GitHub Desktop.
Synology list packages that has dependencies
#/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
@husjon
Copy link
Author

husjon commented Jul 15, 2021

Example output:

dsm6-ui-compatible -> SynologyDrive
Node.js_v12 -> SynologyApplicationService
Node.js_v12 -> SynologyDrive
SynoFinder -> SynologyDrive
SynologyApplicationService -> SynologyDrive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment