l themes: make sure /var/theme/config exist
This commit is contained in:
parent
d183d5e795
commit
221c4b88d0
@ -9,6 +9,7 @@
|
||||
${placeholder "out"}/bin/switch-theme dark
|
||||
fi
|
||||
elif test -e "/etc/themes/$1"; then
|
||||
${pkgs.coreutils}/bin/mkdir -p /var/theme/config
|
||||
${pkgs.rsync}/bin/rsync --chown=lass:users -a --delete "/etc/themes/$1/" /var/theme/config/
|
||||
echo "$1" > /var/theme/current_theme
|
||||
${pkgs.coreutils}/bin/chown lass:users /var/theme/current_theme
|
||||
|
Loading…
Reference in New Issue
Block a user