From bd20e1e27be3e206fdda338ec5d05b82d635f4b1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 28 Dec 2022 21:00:45 -0300 Subject: Fix: postfixadmin: simplify source extraction --- postfixadmin-dl | 10 ++-------- 1 file 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 -- cgit v1.2.3