packaging(linux): refuse non-HTTPS redirects when fetching appimagetool

This commit is contained in:
FredApps committed 2026-11-10 11:12:23 +01:00
1 parent 410d0e4a2f
commit fbbce457fb
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ if has appimage; then
if [ -z "$TOOL" ]; then
TOOL="$CARGO_TARGET_DIR/appimagetool-$ARCH.AppImage"
if [ ! -x "$TOOL" ]; then
curl -fsSL -o "$TOOL" "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$ARCH.AppImage"
curl --proto '=https' -fsSL -o "$TOOL" "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$ARCH.AppImage"
chmod +x "$TOOL"
fi
fi