cleanup script minor fixes

This commit is contained in:
Igor Chubin 2018-11-11 23:17:49 +01:00
parent 24f02ca77d
commit c597191892

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
mv /exa2/wttr.in.cache /exa2/wttr.in.cache.old CACHEDIR="/wttr.in/cache"
mkdir /exa2/wttr.in.cache/
rm -rf /exa2/wttr.in.cache.old mv "${CACHEDIR}/wego" "${CACHEDIR}/wego.old"
mkdir "${CACHEDIR}/wego"
rm -rf "${CACHEDIR}/wego.old"