This commit is contained in:
Tykayn 2023-08-17 10:14:21 +02:00 committed by tykayn
parent 754c32c019
commit 6419111937
4 changed files with 19 additions and 7 deletions

View File

@ -5,11 +5,11 @@
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/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

View File

@ -4,9 +4,16 @@
# les créer au besoin,
# alerter sur l'impossibilité de créer en ajoutant une tâche orgmode au dossier de textes
#
if ! -d $WORKFLOW_PATH ; then
if [ ! -d $WORKFLOW_PATH ]; then
echo "création du dossier nextcloud workflow_nextcloud"
mkdir -p $WORKFLOW_PATH
else
echo "nextcloud: c'est good"
fi
mkdir -p $stockage_syncable_folder/www/backup
if [ ! -d $stockage_syncable_folder/www/backup ]; then
echo "stockage syncable backup"
mkdir -p $stockage_syncable_folder/www/backup
else
echo "stockage syncable backup: c'est good"
fi

View File

@ -7,3 +7,4 @@ git config --global user.name "tykayn"
git config --global rerere.enabled true
git config --global init.defaultBranch main
git config --global checkout.defaultRemote origin
echo " ------ OK ------"

View File

@ -5,4 +5,8 @@ if ! -d ~/.oh-my-zsh; then
cd
sudo apt install zsh
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
else
echo " ------ déjà installé ------"
omz update
fi
echo " ------ fait ------"