_dump/save-cfg.sh

9 lines
194 B
Bash
Executable File

#!/bin/sh
rm -rf /Site/config/desktop-ubuntu
sudo cp -r /Cfg /Site/config/desktop-ubuntu
sudo chown -R $USER:$USER /Site/config/desktop-ubuntu/
cd /Site/config/desktop-ubuntu/
git add .
shipit