File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if [ "$ADD" = 'True' ]; then
32
32
fi
33
33
34
34
# Remove it first as it may be a copy and not symlink (ln --force can't overwrite regular files)
35
- rm " $SHADOW_DESKTOP /$PROGRAM .desktop"
35
+ rm --force " $SHADOW_DESKTOP /$PROGRAM .desktop"
36
36
37
37
ln --symbolic --force " $DESKTOP_FILE " $SHADOW_DESKTOP /
38
38
else
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if [ -f "/var/lib/snapd/desktop/applications/${PROGRAM}_$PROGRAM.desktop" ]; the
26
26
INSTALLED_APP_FILE=" /var/lib/snapd/desktop/applications/${PROGRAM} _$PROGRAM .desktop"
27
27
AUTOSTART_FILE=" $AUTOSTART_DIR /${PROGRAM} _$PROGRAM .desktop"
28
28
else
29
- INSTALLED_APP_FILE=" /usr/share/applications/$PROGRAM "
29
+ INSTALLED_APP_FILE=" /usr/share/applications/$PROGRAM .desktop "
30
30
AUTOSTART_FILE=" $AUTOSTART_DIR /$PROGRAM .desktop"
31
31
fi
32
32
You can’t perform that action at this time.
0 commit comments