mirror of
https://github.com/chubin/wttr.in
synced 2024-12-25 11:23:04 +00:00
cleanup script minor fixes
This commit is contained in:
parent
24f02ca77d
commit
c597191892
1 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue