From: Clinton Ebadi Date: Tue, 8 Apr 2014 11:10:42 +0000 (-0400) Subject: Fix zshenv transformation (awk is field based, duh) X-Git-Tag: debian/3~1 X-Git-Url: https://git.hcoop.net/hcoop/zz_old/debian/hcoop-common-config.git/commitdiff_plain/76704b4b7e9ea922a132628b63608f2f075ce8c1 Fix zshenv transformation (awk is field based, duh) --- diff --git a/debian/hcoop-common-config.transform b/debian/hcoop-common-config.transform index 32cd52c..ef3d891 100644 --- a/debian/hcoop-common-config.transform +++ b/debian/hcoop-common-config.transform @@ -1,2 +1,2 @@ -/etc/zsh/zshenv.hcoop awk '{print $1 "\nPATH=\"$PATH:/afs/hcoop.net/common/bin\"\n"}' +/etc/zsh/zshenv.hcoop sed -e 's/PATH=\"\(.*\)\"/PATH="\1:\/afs\/hcoop.net\/common\/bin"/' /etc/insserv.conf.hcoop debian/transform_insserv.conf.hcoop \ No newline at end of file