Skip to content

Commit 11a1574

Browse files
author
Andreas Poulsen
committed
Minor corrections
1 parent efc866b commit 11a1574

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

os2borgerpc/desktop/desktop_program_shortcut.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if [ "$ADD" = 'True' ]; then
3232
fi
3333

3434
# 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"
3636

3737
ln --symbolic --force "$DESKTOP_FILE" $SHADOW_DESKTOP/
3838
else

os2borgerpc/os2borgerpc/autostart_program.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ -f "/var/lib/snapd/desktop/applications/${PROGRAM}_$PROGRAM.desktop" ]; the
2626
INSTALLED_APP_FILE="/var/lib/snapd/desktop/applications/${PROGRAM}_$PROGRAM.desktop"
2727
AUTOSTART_FILE="$AUTOSTART_DIR/${PROGRAM}_$PROGRAM.desktop"
2828
else
29-
INSTALLED_APP_FILE="/usr/share/applications/$PROGRAM"
29+
INSTALLED_APP_FILE="/usr/share/applications/$PROGRAM.desktop"
3030
AUTOSTART_FILE="$AUTOSTART_DIR/$PROGRAM.desktop"
3131
fi
3232

0 commit comments

Comments
 (0)