2023-07-08 10:57:36 +02:00
|
|
|
#!/bin/bash
|
2024-02-14 16:41:33 +01:00
|
|
|
|
|
|
|
# mise en place du workflow
|
|
|
|
|
2023-08-15 22:23:40 +02:00
|
|
|
echo "========== init de workflow par Tykayn ======="
|
2023-08-15 22:50:45 +02:00
|
|
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
2023-08-15 22:23:40 +02:00
|
|
|
|
2023-08-17 10:14:21 +02:00
|
|
|
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"
|
2023-08-15 22:50:45 +02:00
|
|
|
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
|
2023-08-15 22:23:40 +02:00
|
|
|
|
|
|
|
# copier quelques fichiers de config dans la home
|
2024-02-14 16:41:33 +01:00
|
|
|
echo "copier quelques fichiers de config dans la home"
|
2024-01-21 15:01:51 +01:00
|
|
|
cp "$WORKFLOW_PATH_PUBLIC/assets/.*" "~/"
|
|
|
|
cp "$WORKFLOW_PATH_PUBLIC/assets/konsole.profile" "~/"
|
|
|
|
cp "$WORKFLOW_PATH_PUBLIC/assets/guessfilenameconfig.py" "~/"
|
2023-08-15 22:23:40 +02:00
|
|
|
|
|
|
|
bash "$WORKFLOW_PATH"/files_management/install.sh
|
|
|
|
bash "$WORKFLOW_PATH"/install/git_config_glob.sh
|
|
|
|
bash "$WORKFLOW_PATH"/refresh_from_current_assets.sh
|
2023-08-15 22:35:32 +02:00
|
|
|
|
|
|
|
sudo apt update -y
|
2023-08-17 09:34:05 +02:00
|
|
|
sudo apt upgrade -y
|
|
|
|
sudo apt autoremove -y
|