Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2020 15:23:02 +0000 (UTC)
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558838 - head/sysutils/e2fsprogs
Message-ID:  <202012211523.0BLFN2H0027127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: otis
Date: Mon Dec 21 15:23:01 2020
New Revision: 558838
URL: https://svnweb.freebsd.org/changeset/ports/558838

Log:
  sysutils/e2fsprogs: Fix pkg-install
  
  Fix pkg-install script where a closing ']' was missing.
  
  Submitted by:	Giacomo Olgeni
  Reviewed by:	osa (mentor), mandree
  Approved by:	osa (mentor), mandree
  Differential Revision:	https://reviews.freebsd.org/D27693

Modified:
  head/sysutils/e2fsprogs/Makefile
  head/sysutils/e2fsprogs/pkg-install

Modified: head/sysutils/e2fsprogs/Makefile
==============================================================================
--- head/sysutils/e2fsprogs/Makefile	Mon Dec 21 15:22:44 2020	(r558837)
+++ head/sysutils/e2fsprogs/Makefile	Mon Dec 21 15:23:01 2020	(r558838)
@@ -3,7 +3,7 @@
 
 PORTNAME=	e2fsprogs
 PORTVERSION=	1.45.6
-PORTREVISION?=	4
+PORTREVISION?=	5
 CATEGORIES?=	sysutils
 MASTER_SITES=	KERNEL_ORG/linux/kernel/people/tytso/${PORTNAME}/v${PORTVERSION}
 

Modified: head/sysutils/e2fsprogs/pkg-install
==============================================================================
--- head/sysutils/e2fsprogs/pkg-install	Mon Dec 21 15:22:44 2020	(r558837)
+++ head/sysutils/e2fsprogs/pkg-install	Mon Dec 21 15:23:01 2020	(r558838)
@@ -10,7 +10,7 @@ POST-INSTALL)
 	# symbolic links by hard links if possible (pkg ships them as symlinks)
 	d1=${PKG_ROOTDIR}/sbin/ ;              dev1=$(stat -Lf %Xd "$d1")
 	d2=${PKG_ROOTDIR}${PKG_PREFIX}/sbin/ ; dev2=$(stat -Lf %Xd "$d2")
-	if [ "$dev1" = "$dev2" ] && [ "$(realpath "$d1")" != "$(realpath "$d2")"; then
+	if [ "$dev1" = "$dev2" ] && [ "$(realpath "$d1")" != "$(realpath "$d2")" ]; then
 		for i in e2fsck fsck_ext2fs ; do
 			ln -fhP ${d1}${i} ${d2}${i}
 		done



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012211523.0BLFN2H0027127>