diff options
Diffstat (limited to 'system/letsencrypt.sh/letsencrypt.sh.SlackBuild')
-rw-r--r-- | system/letsencrypt.sh/letsencrypt.sh.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/system/letsencrypt.sh/letsencrypt.sh.SlackBuild b/system/letsencrypt.sh/letsencrypt.sh.SlackBuild index 780d2192c2..6c1e1221ba 100644 --- a/system/letsencrypt.sh/letsencrypt.sh.SlackBuild +++ b/system/letsencrypt.sh/letsencrypt.sh.SlackBuild @@ -31,16 +31,16 @@ ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf letsencrypt.sh-0.2.0 -tar vxf $CWD/v0.2.0.tar.gz -cd letsencrypt.sh-0.2.0 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,9 +70,10 @@ cat << EOF > $PKG/etc/logrotate.d/$PRGNAM EOF # Docs -mkdir -p $PKG/usr/doc/letsencrypt.sh-$VERSION -mv docs/* $PKG/usr/doc/letsencrypt.sh-$VERSION/ -mv CHANGELOG LICENSE README.md $PKG/usr/doc/letsencrypt.sh-$VERSION/ +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv docs/* $PKG/usr/doc/$PRGNAM-$VERSION/ +mv CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/doinst.sh > $PKG/install/doinst.sh |