diff options
author | marcel <marcel@FreeBSD.org> | 2000-01-10 21:04:34 +0800 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-01-10 21:04:34 +0800 |
commit | 861c872e509c83b37ca939216d484f730afa8443 (patch) | |
tree | d14e6fe4e08b9c0b97207aacbd0ed57748b53611 /emulators/linux_base-8 | |
parent | 0c1ccfded5ccead63babc681228c41c30c61cb74 (diff) | |
download | freebsd-ports-graphics-861c872e509c83b37ca939216d484f730afa8443.tar.gz freebsd-ports-graphics-861c872e509c83b37ca939216d484f730afa8443.tar.zst freebsd-ports-graphics-861c872e509c83b37ca939216d484f730afa8443.zip |
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-8')
-rw-r--r-- | emulators/linux_base-8/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile index 4b2e965be04..8a29232ab23 100644 --- a/emulators/linux_base-8/Makefile +++ b/emulators/linux_base-8/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 |