diff --git a/birb b/birb index ffa6b71..8ec3c06 100755 --- a/birb +++ b/birb @@ -1,8 +1,5 @@ #!/bin/bash -# URL where birb gets its source code from -BIRB_REMOTE="https://github.com/birb-linux/birb" - # Check if the LFS variable is set # If it isn't empty, it means that we are installing # BirbOS and the LFS variable should be used as the @@ -57,6 +54,10 @@ BIRB_REPO_LIST_PATH="$INSTALL_PREFIX/etc/birb-sources.conf" [ -z "$BUILD_JOBS" ] && BUILD_JOBS="$(nproc)" [ -z "$ENABLE_32BIT_PACKAGES" ] && ENABLE_32BIT_PACKAGES=yes +# URL where birb gets its source code from +[ -z "$BIRB_REMOTE" ] && BIRB_REMOTE="https://github.com/birb-linux/birb" + + # Load the configuration file (if it exists) if [ -f "$BIRB_CFG_PATH" ] then diff --git a/birb.conf b/birb.conf index d9d5b18..a357f74 100644 --- a/birb.conf +++ b/birb.conf @@ -5,6 +5,13 @@ # instead of the more stable main branch when fetching updates export BIRB_DEV_MODE=false +# Birb remote +# This variable controls the remote git repository that birb +# fetches its updates from +# +# You can customize this to fit your own needs if you have your own fork +# of birb for example +export BIRB_REMOTE="https://github.com/birb-linux/birb" # NOTE: These custom compiler flags only apply to the 64bit libraries