diff options
Diffstat (limited to 'shells/bash/pkg-install')
-rw-r--r-- | shells/bash/pkg-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/bash/pkg-install b/shells/bash/pkg-install index c42db4871432..8aa663d21621 100644 --- a/shells/bash/pkg-install +++ b/shells/bash/pkg-install @@ -11,14 +11,14 @@ case $2 in POST-INSTALL) if [ -d "${SHELLS%/*}" ] && ! grep -qs "^$BASH\$" "$SHELLS"; then if [ `id -u` -eq 0 ]; then - echo "$BASH" >> "$SHELLS" + echo "$BASH" | /usr/bin/sed -e 's|//|/|g' >> "$SHELLS" else echo "Not root, please add $BASH to $SHELLS manually" fi fi if [ -d "${SHELLS%/*}" ] && ! grep -qs "^$RBASH\$" "$SHELLS"; then if [ `id -u` -eq 0 ]; then - echo "$RBASH" >> "$SHELLS" + echo "$RBASH" | /usr/bin/sed -e 's|//|/|g' >> "$SHELLS" else echo "Not root, please add $RBASH to $SHELLS manually" fi |