summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-04-17 12:01:23 +0200
committerUlrich Müller <ulm@gentoo.org>2017-04-17 12:01:39 +0200
commitf41039250c5711a6fa420f08afaf779f4b77fab9 (patch)
tree76c6fc5f38c8550b711ce3d31e55cb41cfc2a6d7
parentmedia-gfx/nip2: [QA] Use complete path as second argument of dosym. (diff)
downloadgentoo-f41039250c5711a6fa420f08afaf779f4b77fab9.tar.gz
gentoo-f41039250c5711a6fa420f08afaf779f4b77fab9.tar.bz2
gentoo-f41039250c5711a6fa420f08afaf779f4b77fab9.zip
www-apps/novnc: [QA] Use complete path as second argument of dosym.
Also make a relative symlink rather than absolute. Bug: 379899 Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--www-apps/novnc/novnc-0.6.2.ebuild2
-rw-r--r--www-apps/novnc/novnc-9999.ebuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/www-apps/novnc/novnc-0.6.2.ebuild b/www-apps/novnc/novnc-0.6.2.ebuild
index 9468eefc9f46..31b6c2fa9e44 100644
--- a/www-apps/novnc/novnc-0.6.2.ebuild
+++ b/www-apps/novnc/novnc-0.6.2.ebuild
@@ -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
diff --git a/www-apps/novnc/novnc-9999.ebuild b/www-apps/novnc/novnc-9999.ebuild
index 78a81ae60798..410adf2ae512 100644
--- a/www-apps/novnc/novnc-9999.ebuild
+++ b/www-apps/novnc/novnc-9999.ebuild
@@ -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