File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -43,29 +43,8 @@ while [ -n "$1" ]; do
4343 [Yy]* |* ) rm -R -f ./$2 .old; exit ;
4444 esac
4545 else
46- metainfodir=$( find ./squashfs-root -type d -name metainfo | grep " share/metainfo" )
47- rm -R -f " $metainfodir " /*
48- echo -ne " ...found Appstream errors, I'm trying to fix them...\r"
49- ARCH=" $( uname -m) " VERSION=$( ./appimagetool -v | grep -o ' [[:digit:]]*' ) ./appimagetool -s ./squashfs-root > /dev/null 2> /dev/null
50- if test -f ./* .AppImage; then
51- mv ./" $2 " ./" $2 " .old
52- mv ./* .AppImage ./" $2 "
53- echo " ◆ $( echo $2 | tr a-z A-Z) has been converted to Type3 AppImage."
54- if test -f ./* .zsync; then
55- echo ' However, when trying again I had to remove some files to update with "zsync".'
56- fi
57- echo " Contact the upstream developers to make them officially switch to Type3!"
58- echo " "
59- rm -R -f ./appimagetool ./squashfs-root
60- read -p " Do you wish to remove the old one (Y,n)?" yn
61- case $yn in
62- [Nn]* ) exit ;;
63- [Yy]* |* ) rm -R -f ./$2 .old; exit ;
64- esac
65- else
66- echo " 💀Errors while trying to export $( echo $2 | tr a-z A-Z) from Type2 AppImage. Aborted."
67- rm -R -f ./appimagetool ./squashfs-root; exit
68- fi
46+ echo " 💀Errors while trying to export $( echo $2 | tr a-z A-Z) from Type2 AppImage. Aborted."
47+ rm -R -f ./appimagetool ./squashfs-root; exit
6948 fi
7049 fi
7150 fi
You can’t perform that action at this time.
0 commit comments