aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-30 16:46:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-30 16:46:33 -0300
commit22b719305b3b175b149039b6867d83f20d7e3d1c (patch)
tree0f3c7ceb79de4f4321c94d42e7821cb6eb74c9e3 /share
parent9591ed50b9335ea87432d1441756aa993fc14e45 (diff)
downloadhydra-22b719305b3b175b149039b6867d83f20d7e3d1c.tar.gz
hydra-22b719305b3b175b149039b6867d83f20d7e3d1c.tar.bz2
Check for wicd folder at sync-tpc
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/sync-tpc2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index 2266a63..8c66ba5 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -46,7 +46,7 @@ $SUDO cp -a /etc/network/interfaces.d/* $DEST/etc/network/interfac
$SUDO cp -a /etc/udev/rules.d/70-persistent-net.rules $DEST/etc/udev/rules.d/70-persistent-net.rules
# Wicd
-if [ -e "/etc/wicd" ]; then
+if [ -d "/etc/wicd" ]; then
$SUDO mkdir -p $DEST/etc/wicd
$SUDO cp -a /etc/wicd/manager-settings.conf $DEST/etc/wicd/manager-settings.conf
$SUDO cp -a /etc/wicd/wireless-settings.conf $DEST/etc/wicd/wireless-settings.conf