X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=scripts%2Fgeeqie-download-appimage.sh;fp=scripts%2Fgeeqie-download-appimage.sh;h=2733c62a5f570ab0c20abf383bddd7a545375441;hp=6ef75bb3efc03360913d8709ee09980a2ce41248;hb=b2f106fff7a1551e1489055f517eb58ebd6ca3c7;hpb=c5a7de637d1b1bcc4e3112c4707430b5ca134bee diff --git a/scripts/geeqie-download-appimage.sh b/scripts/geeqie-download-appimage.sh index 6ef75bb3..2733c62a 100755 --- a/scripts/geeqie-download-appimage.sh +++ b/scripts/geeqie-download-appimage.sh @@ -29,7 +29,7 @@ ## Downloads will not be made unless the server version is newer than the local file. ## -version="2024-04-11" +version="2024-04-14" backups=3 show_help() @@ -74,6 +74,10 @@ extracted executable. This will take up some disk space, but the extracted executable will run as fast as a packaged release. + +If the extract option is selected, a symbolic link from +\$HOME/.local/share/bash-completion/completions/geeqie +to the extracted executable will be set to enable command line completion. \n\n" } @@ -315,6 +319,12 @@ then printf "\nExtraction complete\n" + if [ ! -f "$HOME/.local/share/bash-completion/completions/geeqie" ] + then + mkdir --parents "$HOME/.local/share/bash-completion/completions/" + ln --symbolic "$HOME/bin/Geeqie-latest-x86_64-AppImage/squashfs-root/usr/local/share/bash-completion/completions/geeqie" "$HOME/.local/share/bash-completion/completions/geeqie" + fi + cd .. ln --symbolic --force "./Geeqie$minimal-latest-$architecture-AppImage/squashfs-root/AppRun" geeqie else