summaryrefslogtreecommitdiffstats
path: root/builder/files
diff options
context:
space:
mode:
Diffstat (limited to 'builder/files')
-rw-r--r--builder/files/entrypoint.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/builder/files/entrypoint.sh b/builder/files/entrypoint.sh
new file mode 100644
index 0000000..6685207
--- /dev/null
+++ b/builder/files/entrypoint.sh
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+if [ ! -d "/darklin/gentoo" ]; then
+ cd "/darklin" && git clone http://darksoft.org/git/csa/devops/darkconf/gentoo.git || exit 1
+fi
+
+if [ ! -d "/darklin/darklin4" ]; then
+ cd "/darklin" && git clone http://darksoft.org/git/csa/devops/darkconf/darklin4.git || exit 1
+fi
+
+/bin/bash "/etc/portage/scripts/bootstrap/builder.sh"