up paths
This commit is contained in:
parent
754c32c019
commit
6419111937
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
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
|
||||
|
|
|
@ -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 ------"
|
|
@ -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 ------"
|
Loading…
Reference in New Issue