www-apps/novnc: [QA] Use complete path as second argument of dosym.
authorUlrich Müller <ulm@gentoo.org>
Mon, 17 Apr 2017 10:01:23 +0000 (12:01 +0200)
committerUlrich Müller <ulm@gentoo.org>
Mon, 17 Apr 2017 10:01:39 +0000 (12:01 +0200)
Also make a relative symlink rather than absolute.

Bug: 379899
Package-Manager: Portage-2.3.5, Repoman-2.3.2

www-apps/novnc/novnc-0.6.2.ebuild
www-apps/novnc/novnc-9999.ebuild

index 9468eefc9f462e8575e58684ea986a25aae81aa9..31b6c2fa9e4434f199047e071b7dded2eef0d909 100644 (file)
@@ -47,7 +47,7 @@ src_install() {
        cp -pPR *.html "${D}/usr/share/novnc/"
        cp -pPR include/* "${D}/usr/share/novnc/include/"
        cp -pPR images/* "${D}/usr/share/novnc/images/"
-       dosym /usr/share/novnc/images/favicon.ico /usr/share/novnc/
+       dosym images/favicon.ico /usr/share/novnc/favicon.ico
 
        newconfd "${FILESDIR}/noVNC.confd" noVNC
        newinitd "${FILESDIR}/noVNC.initd" noVNC
index 78a81ae607984c549d88f12f7beddb3e5f2fcddc..410adf2ae512bd37be54bf405f42d3f0013cc862 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -47,7 +47,7 @@ src_install() {
        cp -pPR *.html "${D}/usr/share/novnc/"
        cp -pPR include/* "${D}/usr/share/novnc/include/"
        cp -pPR images/* "${D}/usr/share/novnc/images/"
-       dosym /usr/share/novnc/images/favicon.ico /usr/share/novnc/
+       dosym images/favicon.ico /usr/share/novnc/favicon.ico
 
        newconfd "${FILESDIR}/noVNC.confd" noVNC
        newinitd "${FILESDIR}/noVNC.initd" noVNC