diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-12-28 21:00:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-12-28 21:00:45 -0300 |
commit | bd20e1e27be3e206fdda338ec5d05b82d635f4b1 (patch) | |
tree | 3e02fed3b09bcf9d2e173fa4dad7794c16ab4aa4 | |
parent | 066478cac3d8bb7bd89d59584c49f1c25f8d6085 (diff) | |
download | downloaders-bd20e1e27be3e206fdda338ec5d05b82d635f4b1.tar.gz downloaders-bd20e1e27be3e206fdda338ec5d05b82d635f4b1.tar.bz2 |
Fix: postfixadmin: simplify source extraction
-rwxr-xr-x | postfixadmin-dl | 10 |
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 |