-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate-plugins.sh
More file actions
executable file
·33 lines (30 loc) · 1.63 KB
/
update-plugins.sh
File metadata and controls
executable file
·33 lines (30 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
# Script to update our self-developed dependencies
echo "
█████╗ ███████╗████████╗███████╗██████╗ ██╗███████╗██╗ ██╗██╗
██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██║██╔════╝██║ ██╔╝██║
███████║███████╗ ██║ █████╗ ██████╔╝██║███████╗█████╔╝ ██║
██╔══██║╚════██║ ██║ ██╔══╝ ██╔══██╗██║╚════██║██╔═██╗ ██║
██║ ██║███████║ ██║ ███████╗██║ ██║██║███████║██║ ██╗██║
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝╚═╝
"
REPOROOT=$(pwd)
cd wp-content/plugins/wp-tenttiarkisto || exit 1
git pull
cd "$REPOROOT" || exit 1
cd wp-content/plugins/wp-poytakirjat || exit 1
git pull
cd "$REPOROOT" || exit 1
cd wp-content/plugins/wp-asteriski-admin-theme || exit 1
git pull
cd "$REPOROOT" || exit 1
cd wp-content/plugins/wp-asteriski-auto-email || exit 1
git pull
cd "$REPOROOT" || exit 1
cd wp-content/plugins/wp-asteriski-calendar || exit 1
git pull
cd "$REPOROOT" || exit 1
cd wp-content/themes/wp-asteriski-theme || exit 1
git pull
cd "$REPOROOT" || exit 1
exit 0