app-office/lyx: [QA] Use relative symlink target(s)
authorMichał Górny <mgorny@gentoo.org>
Thu, 24 Aug 2017 14:14:47 +0000 (16:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 24 Aug 2017 15:53:09 +0000 (17:53 +0200)
app-office/lyx/lyx-2.0.8.1-r1.ebuild
app-office/lyx/lyx-2.1.5-r1.ebuild
app-office/lyx/lyx-2.2.2-r1.ebuild
app-office/lyx/lyx-2.2.3-r1.ebuild
app-office/lyx/lyx-2.2.3.ebuild

index 1078ff7ee99adbb410de505dee5976ffcafbd487..96bc6149e56a1fec442fe4333db7f7f098043d5a 100644 (file)
@@ -136,8 +136,8 @@ src_install() {
        python_fix_shebang "${ED}"/usr/share/${PN}
 
        if use hunspell ; then
-               dosym /usr/share/myspell /usr/share/lyx/dicts
-               dosym /usr/share/myspell /usr/share/lyx/thes
+               dosym ../myspell /usr/share/lyx/dicts
+               dosym ../myspell /usr/share/lyx/thes
        fi
 }
 
index 807a748fa5c5c5361186e67e1f1d8c0c22b0b3df..249843210ca6b1ee680b513be3eb7bbc5a231818 100644 (file)
@@ -135,8 +135,8 @@ src_install() {
        python_fix_shebang "${ED}"/usr/share/${PN}
 
        if use hunspell ; then
-               dosym /usr/share/myspell /usr/share/lyx/dicts
-               dosym /usr/share/myspell /usr/share/lyx/thes
+               dosym ../myspell /usr/share/lyx/dicts
+               dosym ../myspell /usr/share/lyx/thes
        fi
 }
 
index 7bfab99130be5b23bf28f6a0500561c69b3525fb..e3060f8aa90d8d4b3a688a67e072c2547e5172e8 100644 (file)
@@ -149,8 +149,8 @@ src_install() {
        python_fix_shebang "${ED}"/usr/share/${PN}
 
        if use hunspell ; then
-               dosym /usr/share/myspell /usr/share/lyx/dicts
-               dosym /usr/share/myspell /usr/share/lyx/thes
+               dosym ../myspell /usr/share/lyx/dicts
+               dosym ../myspell /usr/share/lyx/thes
        fi
 }
 
index 89e6a668851e15f116871d6e9d30d652da9e3f7c..0ccfcdc78f2228552b9ab893832f5f1ea2bff4c9 100644 (file)
@@ -153,8 +153,8 @@ src_install() {
        python_fix_shebang "${ED}"/usr/share/${PN}
 
        if use hunspell ; then
-               dosym /usr/share/myspell /usr/share/lyx/dicts
-               dosym /usr/share/myspell /usr/share/lyx/thes
+               dosym ../myspell /usr/share/lyx/dicts
+               dosym ../myspell /usr/share/lyx/thes
        fi
 }
 
index 7bfab99130be5b23bf28f6a0500561c69b3525fb..e3060f8aa90d8d4b3a688a67e072c2547e5172e8 100644 (file)
@@ -149,8 +149,8 @@ src_install() {
        python_fix_shebang "${ED}"/usr/share/${PN}
 
        if use hunspell ; then
-               dosym /usr/share/myspell /usr/share/lyx/dicts
-               dosym /usr/share/myspell /usr/share/lyx/thes
+               dosym ../myspell /usr/share/lyx/dicts
+               dosym ../myspell /usr/share/lyx/thes
        fi
 }