UPLANET/_${LAT}_${LON}/index.html is hidding UPLANET/_${LAT}_${LON}/RSS/

This commit is contained in:
fred 2023-09-08 16:40:39 +02:00
parent e305b21a9c
commit 3205d0bb1d
1 changed files with 2 additions and 2 deletions

View File

@ -255,9 +255,9 @@ for PLAYER in ${PLAYERONE[@]}; do
## Publish on LAT/ON key on 12345 CACHE
[[ ${LAT} && ${LON} ]] \
&& [[ -d ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON} ]] \
&& mkdir ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/RSS/ \
&& cp ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/RSS/
&& cp ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/RSS/ \
&& echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipns/${UMAPNS}'\" />" > ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON}/index.html
ls -al ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}_${LON} 2>/dev/null
echo "(☉_☉ ) (☉_☉ ) (☉_☉ )"