diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2011-09-05 21:58:38 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-09-05 23:03:07 -0500 |
commit | 879273d939509db89e4f0d1fc7abcd785ccd3145 (patch) | |
tree | 6737774af5d3b9d50a86c39ebcb82e08cc7a6a64 /system/slack-utils/slack-utils.SlackBuild | |
parent | c18a7770aa2528fdd69a6055edc7e19a4f6540a3 (diff) | |
download | slackbuilds-879273d939509db89e4f0d1fc7abcd785ccd3145.tar.gz |
system/slack-utils: Updated for version 0.6.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/slack-utils/slack-utils.SlackBuild')
-rw-r--r-- | system/slack-utils/slack-utils.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/system/slack-utils/slack-utils.SlackBuild b/system/slack-utils/slack-utils.SlackBuild index 56924dc5dd..d089016fae 100644 --- a/system/slack-utils/slack-utils.SlackBuild +++ b/system/slack-utils/slack-utils.SlackBuild @@ -22,10 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -set -e - PRGNAM=slack-utils -VERSION=${VERSION:-0.6.1} +VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,12 +40,20 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; ruby setup.rb config \ --prefix=/usr \ |