From 711ff1fce712fc7d196a9586e0c325dd474a3029 Mon Sep 17 00:00:00 2001 From: divinity76 Date: Fri, 14 Oct 2016 01:06:30 +0200 Subject: [PATCH] clean up the files left in /tmp --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 6f3ba8e..31eedcf 100755 --- a/install.sh +++ b/install.sh @@ -9,6 +9,7 @@ cd ~/.nano/ unzip -o "/tmp/nanorc.zip" mv nanorc-master/* ./ rm -rf nanorc-master +rm /tmp/nanorc.zip if [ ! -f ~/.nanorc ] then @@ -18,3 +19,4 @@ fi cat ~/.nano/nanorc >> ~/.nanorc sort -u ~/.nanorc > /tmp/nanorc2 cat /tmp/nanorc2 > ~/.nanorc +rm /tmp/nanorc2