__devenv
This commit is contained in:
parent
e898cb385c
commit
14400b73e1
6
init
6
init
@ -10,15 +10,21 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Update .aliases
|
# Update .aliases
|
||||||
|
denv_info_msg "[dev-env]: Update dev-env/.aliases"
|
||||||
$ENV_DIR/script/write_aliases
|
$ENV_DIR/script/write_aliases
|
||||||
|
denv_success_msg "[dev-env]: Successfully updated dev-env/.aliases"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Update .profile
|
# Update .profile
|
||||||
|
denv_info_msg "[dev-env]: Update ~/.profile"
|
||||||
$ENV_DIR/script/update_profile
|
$ENV_DIR/script/update_profile
|
||||||
|
denv_success_msg "[dev-env]: Successfully updated ~/.profile"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Clone all systems.
|
# Clone all systems.
|
||||||
|
denv_info_msg "[dev-env]: Clone systems"
|
||||||
$ENV_DIR/script/clone
|
$ENV_DIR/script/clone
|
||||||
|
denv_info_msg "[dev-env]: Cloned systems"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Run init for all systems
|
# Run init for all systems
|
||||||
|
|||||||
@ -9,8 +9,6 @@ if [ ! -f "$CONFIG_FILE" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
denv_info_msg "[dev-env]: Cloning all systems defined in $CONFIG_FILE"
|
|
||||||
|
|
||||||
# Iterate through all lines in .systems configuration
|
# Iterate through all lines in .systems configuration
|
||||||
while IFS=' ' read -r IDENTIFIER DIRECTORY GIT; do
|
while IFS=' ' read -r IDENTIFIER DIRECTORY GIT; do
|
||||||
# Skip comments and emtpy lines
|
# Skip comments and emtpy lines
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user