garrysmod-server/update.sh

13 lines
166 B
Bash
Raw Normal View History

2019-07-10 20:45:30 +01:00
#!/bin/bash
source config.sh
# Get latest cfgs
git pull
# Move cfgs
for i in "${cfgs_map[@]}"
do
map=(${i//;/ })
cp cfgs/${map[0]} $gmod_dir/${map[1]}
done