1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00

clean up the files left in /tmp

This commit is contained in:
divinity76 2016-10-14 01:06:30 +02:00 committed by GitHub
parent 6d5fc37bf4
commit 711ff1fce7

View File

@ -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