diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-11-09 15:42:30 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-11-09 15:42:30 +0100 |
commit | 02a7ccfc2eda3b350b6e7aade0a9c1e05789504a (patch) | |
tree | 912f5c4f026e61f674abdef16785cc38762c4cb0 /config/chroot_local-hooks/flash-live | |
parent | 3c071f6ff60e6fd5afde17d113beb50f1e246422 (diff) | |
download | kanotix-02a7ccfc2eda3b350b6e7aade0a9c1e05789504a.zip kanotix-02a7ccfc2eda3b350b6e7aade0a9c1e05789504a.tar.gz |
added checks to hooks
Diffstat (limited to 'config/chroot_local-hooks/flash-live')
-rwxr-xr-x | config/chroot_local-hooks/flash-live | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/flash-live b/config/chroot_local-hooks/flash-live index d300252..fc9df88 100755 --- a/config/chroot_local-hooks/flash-live +++ b/config/chroot_local-hooks/flash-live @@ -1,5 +1,5 @@ #!/bin/sh mkdir -p /etc/adobe echo EnableLinuxHWVideoDecode=1 > /etc/adobe/mms.cfg -ln -s /usr/bin/install-flash-local /etc/skel/.kde/Autostart/ - +[ -x /usr/bin/startkde ] && ln -s /usr/bin/install-flash-local /etc/skel/.kde/Autostart/ +exit 0 |