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
This commit is contained in:
Ulrich Müller 2017-04-17 12:01:23 +02:00
parent 182444c044
commit f41039250c
No known key found for this signature in database
GPG Key ID: 9433907D693FB5B8
2 changed files with 3 additions and 3 deletions

View 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

View 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