mirror of
https://github.com/openoms/joininbox.git
synced 2026-08-15 12:50:37 +02:00
14 lines
520 B
Bash
Executable file
14 lines
520 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "Removing the joininbox directory.."
|
|
sudo rm -rf /home/joinmarket/joininbox
|
|
echo ""
|
|
echo "Cloning the latest state from https://github.com/openoms/joininbox"
|
|
echo ""
|
|
sudo -u joinmarket git clone https://github.com/openoms/joininbox.git
|
|
echo ""
|
|
echo "Copy the scripts in place"
|
|
echo ""
|
|
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/* /home/joinmarket/
|
|
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/.* /home/joinmarket/ 2>/dev/null
|
|
sudo -u joinmarket chmod +x /home/joinmarket/*.sh
|