mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
only-global
This commit is contained in:
parent
9ee3b4eca3
commit
277600a409
1 changed files with 6 additions and 4 deletions
|
|
@ -9,11 +9,13 @@ REPO_ROOT=$(dirname $(realpath $0))/..
|
|||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/scripts/environment.sh)
|
||||
|
||||
# Clone the desktop environment to the host
|
||||
git clone https://github.com/$DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER $DESKTOP_ENVIRONMENT_REPOSITORY
|
||||
|
||||
# Fork setup to desktop environment configured location immediately
|
||||
# Fork setup to desktop environment global location immediately
|
||||
if [ ! "$REPO_ROOT" -ef "$DESKTOP_ENVIRONMENT_REPOSITORY" ]; then
|
||||
|
||||
# Clone the desktop environment to the global location on the host
|
||||
git clone https://github.com/$DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER $DESKTOP_ENVIRONMENT_REPOSITORY
|
||||
|
||||
# Restart bootstrap from the global location
|
||||
$DESKTOP_ENVIRONMENT_REPOSITORY/scripts/bootstrap.sh
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue