diff options
author | 2015-01-22 22:13:23 +0100 | |
---|---|---|
committer | 2015-01-22 22:18:06 +0100 | |
commit | da23f8fc81febd3b60be023d7bf0f0cef883c031 (patch) | |
tree | 5b1eac8630d0ce23bad22d2c9ad4f16a980170da /wine.eselect | |
parent | make update action always re-set symlinks (diff) | |
download | eselect-wine-da23f8fc81febd3b60be023d7bf0f0cef883c031.tar.gz eselect-wine-da23f8fc81febd3b60be023d7bf0f0cef883c031.tar.bz2 eselect-wine-da23f8fc81febd3b60be023d7bf0f0cef883c031.zip |
symlink headers
Diffstat (limited to 'wine.eselect')
-rw-r--r-- | wine.eselect | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wine.eselect b/wine.eselect index e17053a..3d29c37 100644 --- a/wine.eselect +++ b/wine.eselect @@ -69,6 +69,9 @@ remove_symlinks() { rm "${EROOT}/${DESKTOPDIR}/${d}" || return 1 fi done + if [[ -L ${EROOT}/usr/include/wine ]]; then + rm "${EROOT}/usr/include/wine" || return 1 + fi desktop_database_update @@ -108,6 +111,10 @@ set_symlinks() { fi done + if [[ -d ${EROOT}${PREFIXDIR}/${target}/include/wine ]]; then + ln -s "${EROOT}${PREFIXDIR}/${target}/include/wine" "${EROOT}/usr/include/wine" || return 1 + fi + else die -q "Target \"$1\" doesn't appear to be valid!" fi |