diff --git a/share/scripts/clean-cache.sh b/share/scripts/clean-cache.sh index 993c6b3..9bea42a 100755 --- a/share/scripts/clean-cache.sh +++ b/share/scripts/clean-cache.sh @@ -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"