New paste: add_paste.sh
This commit is contained in:
parent
fa000f73bb
commit
d77d944357
@ -5,6 +5,10 @@ filename=$1
|
||||
folder=/home/hebron/pastebin
|
||||
url=https://git.homelab.no/thomasjsn/pastebin/src/branch/master
|
||||
|
||||
if [ ! -d "$folder" ]; then
|
||||
git clone git@repo.homelab.no:thomasjsn/pastebin.git "$folder"
|
||||
fi
|
||||
|
||||
cd $folder
|
||||
git pull
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user