29 lines
982 B
Bash
29 lines
982 B
Bash
#!/bin/bash
|
||
#
|
||
# mise en place du workflow
|
||
#
|
||
echo "========== init de workflow par Tykayn ======="
|
||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/check_foler_integrity.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/git_config_glob.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/ansible.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/dev_tools.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/java-josm.sh"
|
||
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
|
||
|
||
|
||
# copier quelques fichiers de config dans la home
|
||
|
||
cp "$WORKFLOW_PATH/install/.zshrc" "~/"
|
||
cp "$WORKFLOW_PATH/install/.bash_aliases" "~/"
|
||
cp "$WORKFLOW_PATH/install/.bashrc" "~/"
|
||
|
||
bash "$WORKFLOW_PATH"/files_management/install.sh
|
||
bash "$WORKFLOW_PATH"/install/git_config_glob.sh
|
||
bash "$WORKFLOW_PATH"/refresh_from_current_assets.sh
|
||
|
||
sudo apt update -y
|
||
sudo apt upgrade -y
|
||
sudo apt autoremove -y
|