diff --git a/common/default-update.sh b/common/default-update.sh index 5e67961b..e35a83c4 100644 --- a/common/default-update.sh +++ b/common/default-update.sh @@ -7,7 +7,7 @@ if [ ! -f "$SCRIPTPATH/scroll-lock.json" ]; then exit 0 fi -versionsDirs=$(find update/* -maxdepth 0 -type d | sort --version-sort) +versionsDirs=$(find $SCRIPTPATH/update/* -maxdepth 0 -type d | sort --version-sort) current=$(cat $SCRIPTPATH/scroll-lock.json | jq -r .version) for versionsDir in $versionsDirs diff --git a/scrolls/mc-sp@1.17/scroll.json b/scrolls/mc-sp@1.17/scroll.json index adde8c85..018fd478 100644 --- a/scrolls/mc-sp@1.17/scroll.json +++ b/scrolls/mc-sp@1.17/scroll.json @@ -1,7 +1,7 @@ { "name": "mc-sp", "desc": "Minecraft Spigot", - "version": "0.0.4", + "version": "0.0.6", "processes": { "main": { "commands": { diff --git a/scrolls/mc-sp@1.17/update.sh b/scrolls/mc-sp@1.17/update.sh index 5e67961b..e35a83c4 100644 --- a/scrolls/mc-sp@1.17/update.sh +++ b/scrolls/mc-sp@1.17/update.sh @@ -7,7 +7,7 @@ if [ ! -f "$SCRIPTPATH/scroll-lock.json" ]; then exit 0 fi -versionsDirs=$(find update/* -maxdepth 0 -type d | sort --version-sort) +versionsDirs=$(find $SCRIPTPATH/update/* -maxdepth 0 -type d | sort --version-sort) current=$(cat $SCRIPTPATH/scroll-lock.json | jq -r .version) for versionsDir in $versionsDirs