diff options
author | Vincent Batts <vbatts@gmail.com> | 2014-05-08 07:02:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-12 07:35:53 +0700 |
commit | fe1e315ba624439c9fe37b387f2a7f86b7584c12 (patch) | |
tree | 4721be7466625195784d9af0fa7f3b6f9c49db2b /system/docker/docker.SlackBuild | |
parent | 8c3215a4d5db684b5d758ebff45852e232df4278 (diff) | |
download | slackbuilds-fe1e315ba624439c9fe37b387f2a7f86b7584c12.tar.gz |
system/docker: Updated for version 0.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker/docker.SlackBuild')
-rw-r--r-- | system/docker/docker.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild index ad2748a6ad..22a7925b34 100644 --- a/system/docker/docker.SlackBuild +++ b/system/docker/docker.SlackBuild @@ -5,18 +5,16 @@ # Written by Vincent Batts <vbatts@hashbangbash.com> PRGNAM=docker -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-0.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -GITHASH=${GITHASH:-867b2a9} +GITHASH=${GITHASH:-fb99f99} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -49,11 +47,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/v${VERSION}.tar.gz || tar xvz $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 {} \; +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; unset GOPATH @@ -79,8 +77,7 @@ install -D --mode 0644 $CWD/config/docker.logrotate $PKG/etc/logrotate.d/docker. install -D --mode 0755 $CWD/config/rc.docker $PKG/etc/rc.d/rc.docker.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS CONTRIBUTING.md CHANGELOG.md FIXME LICENSE README.md NOTICE VERSION \ +cp -a AUTHORS CONTRIBUTING.md CHANGELOG.md FIXME LICENSE README.md NOTICE VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |