]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Use sed_i().
authorSimon Ruderich <simon@ruderich.org>
Tue, 8 Oct 2013 14:29:42 +0000 (16:29 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 8 Oct 2013 14:29:42 +0000 (16:29 +0200)
setup.sh

index 1d807bcafd0d61d5d393a8de75be3e8734791b5a..ae38f0f3667cc22ddb8c6781322c8d5f81133778 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -26,8 +26,7 @@ set -e
 generate cat mutt/display .in
 if mutt -v | grep sidebar >/dev/null 2>&1; then
     echo 'mutt/display: enabling mutt sidebar settings'
-    sed 's/^#set sidebar_/set sidebar_/' mutt/display > mutt/display.tmp
-    mv mutt/display.tmp mutt/display
+    sed_i 's/^#set sidebar_/set sidebar_/' mutt/display
 fi
 
 # Link setup.