summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/draklive-install.d/run.d/generate-gtk-icon-cache.sh3
-rwxr-xr-xfiles/draklive-install.d/run.d/home-live-permissions.sh5
2 files changed, 5 insertions, 3 deletions
diff --git a/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
index cd65647..e920320 100755
--- a/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
+++ b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh
@@ -5,6 +5,3 @@ for icondir in /usr/share/icons/*; do
/usr/bin/gtk-update-icon-cache --force --quiet "$icondir";
fi
done
-if [ -d "/home/live" ]; then
- chown -R live:live /home/live
-fi
diff --git a/files/draklive-install.d/run.d/home-live-permissions.sh b/files/draklive-install.d/run.d/home-live-permissions.sh
new file mode 100755
index 0000000..a4d5141
--- /dev/null
+++ b/files/draklive-install.d/run.d/home-live-permissions.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d "/home/live" ]; then
+ chown -R live:live /home/live
+fi