bbfdm/gitlab-ci/setup.sh
2023-04-14 18:09:30 +05:30

17 lines
359 B
Bash
Executable file

#!/bin/bash
echo "preparation script"
pwd
# link '/bin/sh' to bash instead of dash
ln -sf bash /bin/sh
cp -r ./test/files/etc/* /etc/
cp -r ./test/files/usr/* /usr/
cp -r ./test/files/var/* /var/
cp -r ./test/files/tmp/* /tmp/
cp -r ./test/files/lib/* /lib/
[ -z "${1}" ] && cp ./gitlab-ci/iopsys-supervisord.conf /etc/supervisor/conf.d/
ls /etc/config/