aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path')
-rw-r--r--x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path b/x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path
new file mode 100644
index 000000000000..e55ac52b4cf9
--- /dev/null
+++ b/x11-wm/nscde/files/patch-NsCDE_libexec_strip__icon__path
@@ -0,0 +1,21 @@
+--- NsCDE/libexec/strip_icon_path.orig 2021-04-24 03:10:51 UTC
++++ NsCDE/libexec/strip_icon_path
+@@ -20,9 +20,6 @@ case $icon in
+ $FVWM_USERDIR/icons/*)
+ echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^$sFVWM_USERDIR\/icons\///g" -o -f -
+ ;;
+- $NSCDE_ROOT/share/icons/*)
+- echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^$sNSCDE_ROOT\/share\/icons\///g" -o -f -
+- ;;
+ $HOME/.icons/*)
+ echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^$sHOME\/\.\/icons\///g" -o -f -
+ ;;
+@@ -36,7 +33,7 @@ case $icon in
+ echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^\/usr\/local\/share\/icons\///g" -o -f -
+ ;;
+ $NSCDE_ROOT/share/fallback/icons/*)
+- echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^$sNSCDE_ROOT\/fallback\/share\/icons\///g" -o -f -
++ echo "$icon" | $NSCDE_ROOT/bin/ised -c "s/^\/usr\/local\/share\/nscde\/fallback\/icons\///g" -o -f -
+ ;;
+ esac
+