Remove useless checks, formatting

This commit is contained in:
Sandro Jäckel 2019-06-24 12:21:11 +02:00 committed by GitHub
parent b34a9dc2de
commit 18d96c1ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,7 @@ fi
_fetch_sources(){
wget -O /tmp/nanorc.zip https://github.com/scopatz/nanorc/archive/master.zip
if [ ! -d ~/.nano/ ]
then
mkdir ~/.nano/
fi
mkdir -p ~/.nano/
cd ~/.nano/ || exit
unzip -o "/tmp/nanorc.zip"
@ -21,10 +18,7 @@ _fetch_sources(){
}
_update_nanorc(){
if [ ! -f ~/.nanorc ]
then
touch ~/.nanorc
fi
# add all includes from ~/.nano/nanorc if they're not already there
while read -r inc; do