Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: build: fix 2nd time installation ......................................................................
packaging: build: fix 2nd time installation remove files symlink before creating new. Related-To: https://bugzilla.redhat.com/show_bug.cgi?id=997418 Change-Id: I5c78b4de6fc50d5445f6aff854cb01df8bddc41d Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M Makefile 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/56/19756/1 diff --git a/Makefile b/Makefile index f865325..683d7ce 100644 --- a/Makefile +++ b/Makefile @@ -372,8 +372,11 @@ install -d -m 750 "$(DESTDIR)$(PKG_STATE_DIR)/backups" install -d -m 0755 "$(DESTDIR)$(DATA_DIR)/files" + -rm -f "$(DESTDIR)$(DATA_DIR)/files/usbfilter.txt" ln -s "$(PKG_SYSCONF_DIR)/usbfilter.txt" "$(DESTDIR)$(DATA_DIR)/files/usbfilter.txt" + -rm -f "$(DESTDIR)$(DATA_DIR)/files/novnc" ln -s "/usr/share/novnc" "$(DESTDIR)$(DATA_DIR)/files/novnc" + -rm -f "$(DESTDIR)$(DATA_DIR)/files/spice-html5" ln -s "/usr/share/spice-html5" "$(DESTDIR)$(DATA_DIR)/files/spice-html5" install -d -m 755 "$(DESTDIR)$(PKG_SYSCONF_DIR)/branding" -- To view, visit http://gerrit.ovirt.org/19756 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5c78b4de6fc50d5445f6aff854cb01df8bddc41d Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.3 Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches