website-filesystem/update.sh

17 lines
410 B
Bash
Executable file

#!/usr/bin/env bash
echo ":: Removing files"
rm -rf "imgs/emotes/neofox" "imgs/emotes/neocat"
echo ":: Creating directories"
mkdir -p "imgs/emotes/neofox" "imgs/emotes/neocat"
(
cd "imgs/emotes/neofox"
wget "https://volpeon.ink/emojis/neofox/neofox.zip" -O "neofox.zip"
unzip neofox.zip
)
(
cd "imgs/emotes/neocat"
wget "https://volpeon.ink/emojis/neocat/neocat.zip" -O "neocat.zip"
unzip neocat.zip
)