aboutsummaryrefslogtreecommitdiff
path: root/postfixadmin-dl
diff options
context:
space:
mode:
Diffstat (limited to 'postfixadmin-dl')
-rwxr-xr-xpostfixadmin-dl10
1 files changed, 2 insertions, 8 deletions
diff --git a/postfixadmin-dl b/postfixadmin-dl
index 7c4b274..156a553 100755
--- a/postfixadmin-dl
+++ b/postfixadmin-dl
@@ -37,14 +37,8 @@ wget -c https://downloads.sourceforge.net/project/postfixadmin/postfixadmin-3.3.
#gpg --verify postfixadmin-$VERSION.tar.gz.asc postfixadmin-$VERSION.tar.gz || exit 1
# Decompress
-(
- mkdir tmp
- cd tmp
- tar xvf ../postfixadmin-$VERSION.tar.gz
- mv postfixadmin-$VERSION ../postfixadmin-$VERSION
- cd ..
- rmdir tmp
-)
+mkdir postfixadmin-$VERSION
+tar xvf postfixadmin-$VERSION.tar.gz -C postfixadmin-$VERSION --strip-components=1
# Remove package
rm postfixadmin-$VERSION.tar.gz