uci-docker-build/distros/common/common.sh

12 lines
406 B
Bash
Raw Normal View History

#!/bin/bash
echo -e "\n##################################"
mkdir -p /opt/scripts /opt/bin /shell /data
git clone https://git.kebler.net/bash/shell-base.git /shell/base
cp ucishell.sh /shell/base/setup
/shell/base/setup/ucishell.sh
if [[ -f post_common.sh ]]; then
echo "running distro specific commands after common install in post_common.sh"
./post_common.sh
fi
# install and display distro info
./info.sh