This repository has been archived on 2025-06-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Os/scripts/setup-root-fs.sh
2018-04-07 23:26:16 +02:00

23 lines
412 B
Bash
Executable file

cd ..
mkdir -p root-fs/var/0s/source
cd root-fs/var/0s/source
if [ ! -d c0re ]; then
git clone https://github.com/F-WuTS/c0re.git --recursive --depth=1
else
git -C c0re fetch --all
git -C c0re reset --hard origin/master
fi
if [ ! -d harrogate ]; then
git clone https://github.com/F-WuTS/harrogate.git --depth=1
else
git -C harrogate fetch --all
git -C harrogate reset --hard origin/master
fi