Unverified Commit 88b8d26a authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Package selection

parents 4dc2775a b1c56edf
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -u

VERSION="5"
VERSION="6"
HEADER="VirtualDSM Agent"

# Functions
@@ -80,6 +80,10 @@ function installPackages {
      BASE=$(basename "$filename" .spk)
      BASE="${BASE%%-*}"

      [[ $BASE == "ScsiTarget" ]] && continue
      [[ $BASE == "DhcpServer" ]] && continue
      [[ $BASE == "ActiveInsight" ]] && continue

      echo "$HEADER: Installing package ${BASE}.."

      /usr/syno/bin/synopkg install "$filename" > /dev/null
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ cp /agent/service.sh $LOC/agent.sh
chmod 755 $LOC/agent.sh

# Store agent version
echo "5" > "$STORAGE"/"$BASE".agent
echo "6" > "$STORAGE"/"$BASE".agent

echo "Install: Installing system partition..."