diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-04-14 22:33:36 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-04-14 22:33:36 +0000 |
commit | 0f703073895fcda17becd3454fbe0a11e5a50106 (patch) | |
tree | 835890de79814be630b02679e6402e862e529bc4 | |
parent | 72180d6cd323754e3c46972cde1259eb2cb7827a (diff) | |
download | draklive-config-0f703073895fcda17becd3454fbe0a11e5a50106.tar draklive-config-0f703073895fcda17becd3454fbe0a11e5a50106.tar.gz draklive-config-0f703073895fcda17becd3454fbe0a11e5a50106.tar.bz2 draklive-config-0f703073895fcda17becd3454fbe0a11e5a50106.tar.xz draklive-config-0f703073895fcda17becd3454fbe0a11e5a50106.zip |
fix unexpanded path
-rw-r--r-- | config/live.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/live.cfg b/config/live.cfg index 117c95e..c43380a 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -186,7 +186,7 @@ my $_l = { "ak=/etc/draklive-install.d/run.d/restore-akonadi-config.sh; echo -e '#!/bin/sh\ncp /etc/akonadi/mysql-global-standard.conf /etc/akonadi/mysql-global.conf' > \$ak; chmod +x \$ak", ), if_($live->{settings}{desktop} eq 'GNOME', - 'mkdir -p "/home/$live->{settings}{default_user}/.config/autostart/"; for file in "/etc/xdg/autostart/tracker*.desktop"; do sed "s/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/g" $file >"/home/$live->{settings}{default_user}/.config/autostart/$(basename $file)"; done'), + 'mkdir -p "/home/" . $live->{settings}{default_user} . "/.config/autostart/"; for file in "/etc/xdg/autostart/tracker*.desktop"; do sed "s/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/g" $file >"/home/" . $live->{settings}{default_user} . "/.config/autostart/$(basename $file)"; done'), "d=/var/lib/flash-player-plugin/; [ -d \$d ] && rm -f \$d/*.rpm", ), |