From dc9e1e9ab2477fa9ae90a3166b83324c329eb53e Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Tue, 5 Aug 2025 18:19:16 +0200 Subject: minor script fixes - added pandoc to `run.sh` - fixed copy command in `pub.sh` --- pub.sh | 2 +- run.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pub.sh b/pub.sh index bc81365..af7a098 100755 --- a/pub.sh +++ b/pub.sh @@ -4,6 +4,6 @@ git pull echo "=== publishing website! ===" sudo rm -rf /srv/web/ sudo mkdir -p /srv/web/ +sudo cp -r ./web/* /srv/web/ sudo chown -R $(whoami):$(whoami) /srv/web/ -cp ./web/* /srv/web/ sudo systemctl restart nginx diff --git a/run.sh b/run.sh index 2e7ba85..afe908f 100755 --- a/run.sh +++ b/run.sh @@ -17,6 +17,9 @@ sudo apt install -y sudo vim git curl wget btop tmux sudo usermod -aG sudo "$(whoami)" sudo apt install -y nmap traceroute netcat-openbsd man man-db rsync ed bc unrar-free zip unzip lvm2 +echo "[run] installing other packages..." +sudo apt install -y pandoc + echo "[run] setting up classical vim..." tee -a ~/.vimrc << END syntax on -- cgit v1.2.3