-
Notifications
You must be signed in to change notification settings - Fork 0
/
git-pull.sh
executable file
·54 lines (45 loc) · 1.11 KB
/
git-pull.sh
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh
AMPACHEDIR=$PWD
# Ampache
if [ -d $AMPACHEDIR/ampache-develop ]; then
cd $AMPACHEDIR/ampache-develop && git pull
fi
if [ -d $AMPACHEDIR/ampache-master ]; then
cd $AMPACHEDIR/ampache-master && git pull
fi
if [ -d $AMPACHEDIR/ampache-squashed ]; then
cd $AMPACHEDIR/ampache-squashed && git pull
fi
# ampache test
if [ -d $AMPACHEDIR/ampache-test/ampache ]; then
cd $AMPACHEDIR/ampache-test/ampache && git pull
fi
# php7.4
if [ -d $AMPACHEDIR/php74 ]; then
cd $AMPACHEDIR/php74 && git pull
fi
if [ -d $AMPACHEDIR/php74_squashed ]; then
cd $AMPACHEDIR/php74_squashed && git pull
fi
# php8.0
if [ -d $AMPACHEDIR/php80 ]; then
cd $AMPACHEDIR/php80 && git pull
fi
if [ -d $AMPACHEDIR/php80_squashed ]; then
cd $AMPACHEDIR/php80_squashed && git pull
fi
# php8.1
if [ -d $AMPACHEDIR/php81 ]; then
cd $AMPACHEDIR/php81 && git pull
fi
if [ -d $AMPACHEDIR/php81_squashed ]; then
cd $AMPACHEDIR/php81_squashed && git pull
fi
# php8.2
if [ -d $AMPACHEDIR/php82 ]; then
cd $AMPACHEDIR/php82 && git pull
fi
if [ -d $AMPACHEDIR/php82_squashed ]; then
cd $AMPACHEDIR/php82_squashed && git pull
fi
cd $AMPACHEDIR