fix wrong file naming

folder contained in zip file is named different than branch / zip url
This commit is contained in:
Jared Gesser 2019-11-23 18:39:59 +01:00 committed by GitHub
parent 02370c97e4
commit e4e892184a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ _fetch_sources(){
cd ~/.nano/ || exit
unzip -o "/tmp/nanorc.zip"
mv nanorc-v2.9/* ./
rm -rf nanorc-v2.9
mv nanorc-2.9/* ./
rm -rf nanorc-2.9
rm /tmp/nanorc.zip
}