summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-30 00:56:29 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-30 00:56:29 +0200
commit3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1 (patch)
treef57e9074d6ff7bb52cf5e067213d1f8781753cf9 /.local/bin
parentUpdate (diff)
downloaddotfiles-bsd-3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1.tar.gz
dotfiles-bsd-3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1.tar.bz2
dotfiles-bsd-3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1.tar.xz
dotfiles-bsd-3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1.tar.zst
dotfiles-bsd-3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1.zip
Fixed stuff
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/vps-update12
1 files changed, 7 insertions, 5 deletions
diff --git a/.local/bin/vps-update b/.local/bin/vps-update
index 9bd5d6d..e09f515 100755
--- a/.local/bin/vps-update
+++ b/.local/bin/vps-update
@@ -1,11 +1,13 @@
#!/usr/local/bin/dash
+serv_addr="root@jozanofastora.xyz"
+
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/jozanleclerc.xyz/ root@jozanofastora.xyz:/usr/local/www/jozan
+ "$HOME"/dev/web/jozanofastora.xyz/ $serv_addr:/usr/local/www/jozan
rsync -urvhP --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/gitjoe/ root@jozanofastora.xyz:/usr/local/www/gitjoe
+ "$HOME"/dev/web/gitjoe/ $serv_addr:/usr/local/www/gitjoe
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/jozan_gemini/ root@jozanofastora.xyz:/usr/local/gemini
+ "$HOME"/dev/web/jozan_gemini/ $serv_addr:/usr/local/gemini
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' --exclude 'LICENSE' \
- "$HOME"/dev/perl/serv-scripts/ root@jozanofastora.xyz:/root/scripts
-rsync -urvhP "$HOME/.config/newsboat/urls" root@jozanofastora.xyz:/root/backup/apps/newsboat
+ "$HOME"/dev/perl/serv-scripts/ $serv_addr:/root/scripts
+rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat