Package selection

This commit is contained in:
Kroese 2023-04-18 19:25:40 +02:00 committed by GitHub
commit 156939e8fe
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -u set -u
VERSION="5" VERSION="6"
HEADER="VirtualDSM Agent" HEADER="VirtualDSM Agent"
# Functions # Functions
@ -80,6 +80,10 @@ function installPackages {
BASE=$(basename "$filename" .spk) BASE=$(basename "$filename" .spk)
BASE="${BASE%%-*}" BASE="${BASE%%-*}"
[[ $BASE == "ScsiTarget" ]] && continue
[[ $BASE == "DhcpServer" ]] && continue
[[ $BASE == "ActiveInsight" ]] && continue
echo "$HEADER: Installing package ${BASE}.." echo "$HEADER: Installing package ${BASE}.."
/usr/syno/bin/synopkg install "$filename" > /dev/null /usr/syno/bin/synopkg install "$filename" > /dev/null

View File

@ -163,7 +163,7 @@ cp /agent/service.sh $LOC/agent.sh
chmod 755 $LOC/agent.sh chmod 755 $LOC/agent.sh
# Store agent version # Store agent version
echo "5" > "$STORAGE"/"$BASE".agent echo "6" > "$STORAGE"/"$BASE".agent
echo "Install: Installing system partition..." echo "Install: Installing system partition..."