Add dotfiles and scripts

This commit is contained in:
Jonas Zeunert
2024-04-24 00:36:57 +02:00
parent 5cfc470f1e
commit 8e34bd5ac8
18 changed files with 1222 additions and 0 deletions

18
scripts/update Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -eux
cd data/awesome-awesomeness
git stash && git pull
~/update_fscrawler.sh
rm -rf /var/www/awesm/html /var/www/awesm/terminal
mv html terminal /var/www/awesm/
cd /var/www/awesm
chown -R :www-data html terminal
date -ur html > stats/updated.txt
ls html | wc -l > stats/sites.txt
chmod -R o-rwx ./*