From 593c99525a4f3bdb40a45dd33515cf37d93e7055 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 10:39:14 +0200 Subject: [PATCH] util-linux: create sbin/nologin symlink until the usr/bin move ends. --- srcpkgs/util-linux/INSTALL | 3 +++ srcpkgs/util-linux/template | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/util-linux/INSTALL b/srcpkgs/util-linux/INSTALL index dfd1cb4219f..3b9260695db 100644 --- a/srcpkgs/util-linux/INSTALL +++ b/srcpkgs/util-linux/INSTALL @@ -10,5 +10,8 @@ post) echo "WARNING: failed to change ${f}(1) group to tty." chmod 2755 usr/bin/${f} done + if [ -d usr/sbin -a ! -L usr/sbin ]; then + ln -s ../bin/nologin usr/sbin/nologin + fi ;; esac diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 4fcef796b81..ca293147989 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -1,7 +1,7 @@ # Template file for 'util-linux' pkgname=util-linux version=2.26.2 -revision=3 +revision=4 short_desc="Miscellaneous linux utilities" maintainer="Juan RP " homepage="http://userweb.kernel.org/~kzak/util-linux-ng"