Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > c74e422314f5709f7b8d29edb21800be > files > 3

heimdal-1.5.3-6.mga5.src.rpm

diff -Naur -x '*~' -x '*.rej' -x '*.orig' heimdal-1.5.1/cf/install-catman.sh heimdal-1.5.1-use-plain-cp-over-ln-for-manpage/cf/install-catman.sh
--- heimdal-1.5.1/cf/install-catman.sh	2011-09-30 14:58:45.000000000 +0200
+++ heimdal-1.5.1-use-plain-cp-over-ln-for-manpage/cf/install-catman.sh	2011-10-03 20:44:17.701232354 +0200
@@ -38,9 +38,7 @@
 		fi
 		if test "$cmd" = install ; then
 			target="$mandir/$link.$section"
-			for lncmd in "ln -f $mandir/$base.$section $target" \
-				   "ln -s $base.$section $target" \
-				   "cp -f $mandir/$base.$section $target"
+			for lncmd in "ln -fs $base.$section $target"
 			do
 				if eval "$lncmd"; then
 					eval echo "$lncmd"
@@ -50,9 +48,7 @@
 			if test "$catinstall" = yes -a -f "$srcdir/$c"; then
 				eval target="$catdir/$link.$suffix"
 				eval source="$catdir/$base.$suffix"
-				for lncmd in "ln -f $source $target" \
-					   "ln -fs $source $target" \
-					   "cp -f $catdir/$source $target"
+				for lncmd in "ln -fs $base.$suffix $target"
 				do
 					if eval "$lncmd"; then
 						eval echo "$lncmd"