We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a677fb6 commit 75db950Copy full SHA for 75db950
templates/AM-SAMPLE-AppImage
@@ -36,8 +36,8 @@ version0=$(cat "/opt/$APP/version")
36
version=$(FUNCTION)
37
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38
if [ "$version" != "$version0" ] || [ -e /opt/"$APP"/*.zsync ]; then
39
- [ -e /opt/"$APP"/*.zsync ] || notify-send "A new version of $APP is available, please wait"
40
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
+ [ -e /opt/"$APP"/*.zsync ] || notify-send "A new version of $APP is available, please wait"
41
[ -e /opt/"$APP"/*.zsync ] && wget "$version.zsync" 2>/dev/null || { wget "$version" || exit 1; }
42
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
43
cd ..
0 commit comments