Skip to content

Commit 0a0de2e

Browse files
committed
Remove if condition for phpmyadmin upgrade.
1 parent 4885d61 commit 0a0de2e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,9 +1197,7 @@ if [ "$mysql" = 'yes' ]; then
11971197
tar xzf phpMyAdmin-$pma_v-all-languages.tar.gz
11981198

11991199
# Delete file to prevent error
1200-
if [ "$pma_v" = '4.8.4' ]; then
1201-
rm -fr /usr/share/phpmyadmin/doc/html
1202-
fi
1200+
rm -fr /usr/share/phpmyadmin/doc/html
12031201

12041202
# Overwrite old files
12051203
cp -rf phpMyAdmin-$pma_v-all-languages/* /usr/share/phpmyadmin

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,9 +1171,7 @@ if [ "$mysql" = 'yes' ]; then
11711171
tar xzf phpMyAdmin-$pma_v-all-languages.tar.gz
11721172

11731173
# Delete file to prevent error
1174-
if [ "$pma_v" = '4.8.4' ]; then
1175-
rm -fr /usr/share/phpmyadmin/doc/html
1176-
fi
1174+
rm -fr /usr/share/phpmyadmin/doc/html
11771175

11781176
# Overwrite old files
11791177
cp -rf phpMyAdmin-$pma_v-all-languages/* /usr/share/phpmyadmin

0 commit comments

Comments
 (0)