Skip to content

Commit 7e2ac54

Browse files
authored
Update install.am
- fix launchers for installation scripts with the name that ends with "-appimage", in AppMan
1 parent cc7913a commit 7e2ac54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/install.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ _post_installation_processes() {
214214
# Patch .desktop to change paths if the app is installed locally
215215
if [ "$AMCLI" = "appman" ]; then
216216
for a in $DATADIR/applications/*-AM.desktop; do
217-
sed -i "s#Exec=$arg#Exec=$BINDIR/$arg#g" "$a" 2>/dev/null
217+
sed -i "s#Exec=$pure_arg#Exec=$BINDIR/$pure_arg#g" "$a" 2>/dev/null
218218
sed -i "s#Exec=/usr/bin/#Exec=$BINDIR/#g" "$a" 2>/dev/null
219219
sed -i "s#Exec=/opt/#Exec=$BINDIR/#g" "$a" 2>/dev/null
220220
done

0 commit comments

Comments
 (0)