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.

Change-Id: I5c78b4de6fc50d5445f6aff854cb01df8bddc41d
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M Makefile
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/54/19754/1

diff --git a/Makefile b/Makefile
index 1ee2f2e..47b0184 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/19754
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c78b4de6fc50d5445f6aff854cb01df8bddc41d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to