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
This commit is contained in:
parent
d5822e83e9
commit
dca4f12df3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558838
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user