diff options
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/shell.ucl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Keywords/shell.ucl b/Keywords/shell.ucl index 16a094eaca95..7c3ae7f1678a 100644 --- a/Keywords/shell.ucl +++ b/Keywords/shell.ucl @@ -18,7 +18,7 @@ post-install: <<EOD *) file="%D/%@" ;; esac cp /etc/shells /etc/shells.bak - (grep -v ${file} /etc/shells.bak; echo ${file}) > /etc/shells + (grep -v "^${file}$" /etc/shells.bak; echo ${file}) > /etc/shells rm -f /etc/shells.bak EOD pre-deinstall: <<EOD @@ -27,6 +27,6 @@ pre-deinstall: <<EOD *) file="%D/%@" ;; esac cp /etc/shells /etc/shells.bak - grep -v ${file} /etc/shells.bak > /etc/shells + grep -v "^${file}$" /etc/shells.bak > /etc/shells rm -f /etc/shells.bak EOD |