sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2)
- From: Pavel Vinogradov <vin.public AT gmail.com>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2)
- Date: Fri, 21 Sep 2018 08:07:54 -0400
ok then. find has -delete flag, does it not? no need in for loops.
On Fri, Sep 21, 2018 at 01:56:44PM +0200, Treeve Jelbert wrote:
On Fri, 21 Sep 2018 07:37:01 -0400, Pavel Vinogradov wrote:
wouldn't it delete all symlinks in $INSTALL_ROOT/usr/lib?
no. I tested it and only dangling symlinks created by smgl-gl_select were deleted
This was necessary because the install fails if these symlinks are still present.
On Fri, Sep 21, 2018 at 11:08:22AM +0000, Treeve Jelbert wrote:
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
graphics-libs/mesa/PRE_INSTALL | 12 ++++++++++++
commit 277b8e1e6d16887862ca351fc4a5a4e3e757105a
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesa - add PRE_INSTALL
diff --git a/graphics-libs/mesa/PRE_INSTALL b/graphics-libs/mesa/PRE_INSTALL
new file mode 100755
index 0000000..e44139d
--- /dev/null
+++ b/graphics-libs/mesa/PRE_INSTALL
@@ -0,0 +1,12 @@
+if spell_ok $SPELL;then
+ dispel --notriggers $SPELL
+fi &&
+# cleanup broken symlinks, left over from smgl-gl_select
+if ! is_depends_enabled: $SPELL smgl-gl_select;then
+ for C in $(find -L $INSTALL_ROOT/usr/lib -type l) ; do
+ rm $C
+ done &&
+ for C in $(find -L $INSTALL_ROOT/usr/include/GL -type l) ; do
+ rm $C
+ done
+fi
_______________________________________________
SM-Commit mailing list
SM-Commit AT lists.ibiblio.org
https://lists.ibiblio.org/mailman/listinfo/sm-commit
--
Sincerely,
Pavel Vinogradov
-
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2),
Treeve Jelbert, 09/21/2018
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2),
Pavel Vinogradov, 09/21/2018
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2),
Treeve Jelbert, 09/21/2018
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2), Pavel Vinogradov, 09/21/2018
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2),
Treeve Jelbert, 09/21/2018
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2),
Pavel Vinogradov, 09/21/2018
Archive powered by MHonArc 2.6.24.