mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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 <olgeni@uli.it>
This commit is contained in:
parent
e97bce7ae0
commit
e295b0bcd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40701
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue