Skip to content

Commit 77a3e34

Browse files
author
Oliver Cervera
authored
Update snapraid-aio-script.sh
URL to be checked is in master branch No more dev tags
1 parent c5875a2 commit 77a3e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snapraid-aio-script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
######################
99
# SCRIPT VARIABLES #
1010
######################
11-
SNAPSCRIPTVERSION="3.3" #DEV12
11+
SNAPSCRIPTVERSION="3.3"
1212

1313
# Read SnapRAID version
1414
SNAPRAIDVERSION="$(snapraid -V | sed -e 's/snapraid v\(.*\)by.*/\1/')"
@@ -122,7 +122,7 @@ function main(){
122122

123123
# check for script updates
124124
if [ "$CHECK_UPDATES" -eq 1 ]; then
125-
remote_version=$(curl -fsS -m 5 --retry 3 https://raw.githubusercontent.com/auanasgheps/snapraid-aio-script/dev/version)
125+
remote_version=$(curl -fsS -m 5 --retry 3 https://raw.githubusercontent.com/auanasgheps/snapraid-aio-script/master/version)
126126
if [[ "$remote_version" != "$SNAPSCRIPTVERSION" ]]; then
127127
update_message="A newer version ($remote_version) is available! You can find more information by visiting https://github.com/auanasgheps/snapraid-aio-script/releases"
128128
echo "$update_message"

0 commit comments

Comments
 (0)