mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-12 16:22:58 -07:00
update installer.sh
add ability to detect if running on synology in installer.sh
This commit is contained in:
parent
9124a438ce
commit
5bfb7d45e8
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ check_distro() {
|
|||
elif hash apt-get 2>/dev/null; then
|
||||
DISTRO="debian"
|
||||
DISTRO_INSTALL="apt-get install"
|
||||
elif [ -f /etc/synoinfo.conf ]; then
|
||||
DISTRO="synology"
|
||||
DISTRO_INSTALL="synopkg install"
|
||||
else
|
||||
DISTRO="unknown"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue