mirror of
https://github.com/chubin/wttr.in
synced 2024-12-24 10:53:07 +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
|
||||
|
||||
mv /exa2/wttr.in.cache /exa2/wttr.in.cache.old
|
||||
mkdir /exa2/wttr.in.cache/
|
||||
rm -rf /exa2/wttr.in.cache.old
|
||||
CACHEDIR="/wttr.in/cache"
|
||||
|
||||
mv "${CACHEDIR}/wego" "${CACHEDIR}/wego.old"
|
||||
mkdir "${CACHEDIR}/wego"
|
||||
rm -rf "${CACHEDIR}/wego.old"
|
||||
|
|
Loading…
Reference in a new issue