aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpub.sh2
-rwxr-xr-xrun.sh3
2 files changed, 4 insertions, 1 deletions
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