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

@ -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 ------"