From 2e5b796efe04ced6086aaf4d96e42eb67061474b Mon Sep 17 00:00:00 2001 From: "Roman A. aka BasicXP" Date: Mon, 27 May 2013 16:45:37 +0400 Subject: [PATCH] Fixed an error in netatalk plugin: defaultServer_volumesFile: command not found --- plugins/network/netatalk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/network/netatalk b/plugins/network/netatalk index c93bdf4c..6384b1e1 100755 --- a/plugins/network/netatalk +++ b/plugins/network/netatalk @@ -109,7 +109,7 @@ else defaultVol_nonQuotedPattern='-defaultvo(l) (([^\0 !$`&*()+]|\\( |!|$|`|&|\*|\(|\)|\+))+)' defaultVol_pathPattern=$defaultVol_nonQuotedPattern [[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathIsQuoted ]] && defaultVol_pathPattern=$defaultVol_quotedPattern - [[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile = ${BASH_REMATCH[2]} + [[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile=${BASH_REMATCH[2]} fi ########## @@ -156,4 +156,4 @@ for shareName in `cat $defaultServer_volumesFile | grep "^[^#:]" | grep -oP "^([ done echo "share.value" $openShares -########## \ No newline at end of file +##########