diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-01-10 13:04:34 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-01-10 13:04:34 +0000 |
commit | 4443946f48e97d5633ef3200f9cadd931516562f (patch) | |
tree | 43a4fdd665235102a92219ed32f6bb5b42e730e0 /emulators/linux_base | |
parent | Add patches. ( I forgot this. ) (diff) |
Install packages with -U instead of -i. This should minimize the
problems people have when they install the port without removing
the previously installed version.
Diffstat (limited to 'emulators/linux_base')
-rw-r--r-- | emulators/linux_base/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile index 4b2e965be041..8a29232ab236 100644 --- a/emulators/linux_base/Makefile +++ b/emulators/linux_base/Makefile @@ -156,23 +156,23 @@ do-install: # @for R in ${RPM_SET1}; do \ ${ECHO} $$R; \ - rpm -i ${RPMFLAGS} ${RPMDIR}/$$R; \ + rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done @${ECHO} ${RPM_LDCONFIG} - @rpm -i ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_LDCONFIG} + @rpm -U ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_LDCONFIG} @brandelf -t Linux ${PREFIX}/sbin/ldconfig @${PREFIX}/sbin/ldconfig @${TOUCH} ${PREFIX}/etc/ld.so.conf @for R in ${RPM_SET2}; do \ ${ECHO} $$R; \ - rpm -i ${RPMFLAGS} ${RPMDIR}/$$R; \ + rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done @${ECHO} ${RPM_RPM} - @rpm -i ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_RPM} + @rpm -U ${RPMFLAGS} --noscripts ${RPMDIR}/${RPM_RPM} @brandelf -t Linux ${PREFIX}/bin/rpm @for R in ${RPM_SET3}; do \ ${ECHO} $$R; \ - rpm -i ${RPMFLAGS} ${RPMDIR}/$$R; \ + rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \ done # # Install updates |