Skip to content

Commit 93f3e1a

Browse files
committed
Delete ISPConfig-3-stable.tar.gz file after updates.
1 parent 5898e68 commit 93f3e1a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

server/scripts/update_from_tgz.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
#!/bin/bash
22

33
cd /tmp
4+
5+
if [ -f ISPConfig-3-stable.tar.gz ]
6+
then
7+
rm -f ISPConfig-3-stable.tar.gz
8+
fi
9+
410
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
511
tar xvfz ISPConfig-3-stable.tar.gz
612
cd ispconfig3_install/install/
713
php -q update.php
8-
rm -rf /tmp/ispconfig3_install/install
14+
rm -rf /tmp/ispconfig3_install/install
15+
rm -f ISPConfig-3-stable.tar.gz

0 commit comments

Comments
 (0)