Skip to content

Commit c86151f

Browse files
author
Andreas Poulsen
committed
Merge branch 'feature/54524_fix_desktop_toggle_writable' into 'master'
Make desktop_toggle_writable create /home/.skjult/Skrivebord See merge request os2borgerpc/os2borgerpc-scripts!173
2 parents 4582f81 + 3139bea commit c86151f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

os2borgerpc/desktop/desktop_toggle_writable.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ make_desktop_writable() {
3131
chattr -i /home/$USER/$DESKTOP
3232
}
3333

34+
# Make sure that /home/.skjult/Skrivebord exists as otherwise this script will not work correctly
35+
mkdir --parents /home/.skjult/Skrivebord
36+
3437
# Undo write access removal.
3538
# We always do this to prevent adding the same lines multiple times (idempotency)
3639
make_desktop_writable

0 commit comments

Comments
 (0)