From 5bfb7d45e83081f1b9a6ed02b1f04538d1210dbc Mon Sep 17 00:00:00 2001 From: myellen Date: Tue, 12 Feb 2019 11:59:19 -0500 Subject: [PATCH] update installer.sh add ability to detect if running on synology in installer.sh --- extras/installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/installer.sh b/extras/installer.sh index 5f0967a..672070d 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -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