diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
commit | 42542fb07642b8336e808272918f3ae46aa67e0b (patch) | |
tree | 98ff235c33c6493aa26457284f122652c38935f7 /net/vserver | |
parent | 4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff) | |
download | ports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz ports-42542fb07642b8336e808272918f3ae46aa67e0b.zip |
Notes
Diffstat (limited to 'net/vserver')
-rw-r--r-- | net/vserver/files/pkg-install.in | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/net/vserver/files/pkg-install.in b/net/vserver/files/pkg-install.in index e677774c5ee9..b13f0f092cde 100644 --- a/net/vserver/files/pkg-install.in +++ b/net/vserver/files/pkg-install.in @@ -6,23 +6,10 @@ VCHATUSER=%%VCHATUSER%% VCHATGROUP=%%VCHATGROUP%% UID=128 GID=128 - -if [ -n "%%DESTDIR%%" ]; then - - PW="/usr/sbin/chroot %%DESTDIR%% pw" - CHOWN="/usr/sbin/chroot %%DESTDIR%% chown" - CHMOD="/usr/sbin/chroot %%DESTDIR%% chmod" - MKDIR="/usr/sbin/chroot %%DESTDIR%% mkdir -p" - -else - - PW="pw" - CHOWN="chown" - CHMOD="chmod" - MKDIR="mkdir" - - -fi +PW="pw" +CHOWN="chown" +CHMOD="chmod" +MKDIR="mkdir" if [ "$2" = "PRE-INSTALL" ]; then |