Make WindStridesClothingPack use types.sh.

This commit is contained in:
Daniel Ceregatti 2023-02-24 15:13:04 -08:00
parent 35be16d48f
commit 1a129135da
3 changed files with 0 additions and 30 deletions

View file

@ -1,28 +0,0 @@
#!/usr/bin/env bash
set -eE
cd "$(dirname ${0})"
echo
if echo ${0} | grep -q "uninstall.sh"
then
echo "Restoring original files and deleting extra file..."
echo
for file in $(ls *.orig)
do
cp -v $(file} ${HOME}/serverfiles/mpmissions/${file/.orig/}/db/types.xml
done
else
echo "Copying modified files to server missions directory..."
echo
cp -v ${HOME}/serverfiles/steamapps/workshop/content/221100/1797720064/extras/types.xml .
for dir in $(ls ${HOME}/serverfiles/mpmissions)
do
cp -v ${dir}/db/types.xml ${dir}.orig
head -n-1 ${dir}.orig > /tmp/types.xml
tail -n+2 types.xml >> /tmp/types.xml
xmllint --noout /tmp/types.xml && cp -v /tmp/types.xml ${C}/db/types.xml
done
fi
echo

View file

@ -1 +0,0 @@
install.sh

View file

@ -1 +0,0 @@
1797720064