From 54041b6d2898599e6e17fdeb396f23224a7f4d05 Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 1 Apr 2001 21:21:27 +0000 Subject: Do a ${MV} with -f so that the installation process won't stop and ask a question when some version of ruby is already installed. This is useful when you want to automatically upgrade the port using portupgrade. :) Submitted by: Jimmy Olgeni --- lang/ruby16/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/ruby16') diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile index 3cb73fb361e7..2de3aef69763 100644 --- a/lang/ruby16/Makefile +++ b/lang/ruby16/Makefile @@ -58,7 +58,7 @@ post-patch: post-install: strip ${RUBY} .if empty(RUBY_SUFFIX) - ${MV} ${RUBY} ${RUBY}${_RUBY_SUFFIX} + ${MV} -f ${RUBY} ${RUBY}${_RUBY_SUFFIX} ${LN} -fs ${RUBY}${_RUBY_SUFFIX} ${RUBY} ${MV} ${PREFIX}/man/man1/ruby.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1 .else -- cgit