28 lines
1012 B
Bash
28 lines
1012 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/initialization/partials/check_foler_integrity.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/git_config_glob.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/ansible.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/dev_tools.sh"
|
||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/java-josm.sh"
|
||
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
|
||
|
||
|
||
# copier quelques fichiers de config dans la home
|
||
cp "$WORKFLOW_PATH_PUBLIC/assets/.*" "~/"
|
||
cp "$WORKFLOW_PATH_PUBLIC/assets/konsole.profile" "~/"
|
||
cp "$WORKFLOW_PATH_PUBLIC/assets/guessfilenameconfig.py" "~/"
|
||
|
||
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
|