1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11-wm/nscde/files/patch-NsCDE_libexec_style__managers.shlib
Chris Moerz 02f8e15557 x11-wm/nscde: New port: modern and functional CDE
* Submitter becomes maintainer

sCDE is a retro but powerful UNIX desktop environment which resembles
CDE look (and partially feel) but with a more powerful and flexible
framework beneath-the-surface, more suited for 21st century unix-like
and Linux systems and user requirements than original CDE.

See also https://github.com/NsCDE/NsCDE

PR:		255929
Differential Revision:	https://reviews.freebsd.org/D30591
2021-08-09 15:56:30 +01:00

39 lines
1.2 KiB
Plaintext

--- NsCDE/libexec/style_managers.shlib.orig 2021-05-02 08:44:06 UTC
+++ NsCDE/libexec/style_managers.shlib
@@ -11,11 +11,6 @@
# Used in other API functions and in managers
function FindPalettes
{
- if [ -z $NSCDE_ROOT ]; then
- echo "No NSCDE_ROOT defined. Exiting."
- exit 2
- fi
-
SysPalettes=$(ls -1 ${NSCDE_ROOT}/share/palettes/*.dp | awk -F "/" '{print $NF}' | sed 's/\.dp$//g')
if [ -d "${FVWM_USERDIR}/palettes" ]; then
@@ -30,11 +25,6 @@ function FindPalettes
# Used in other API functions and in managers
function FindBackdrops
{
- if [ -z $NSCDE_ROOT ]; then
- echo "No NSCDE_ROOT defined. Exiting."
- exit 2
- fi
-
SysBackdrops=$(ls -1 ${NSCDE_ROOT}/share/backdrops/*.pm | awk -F "/" '{print $NF}' | sed 's/\.pm$//g')
if [ -d "${FVWM_USERDIR}/backdrops" ]; then
@@ -49,11 +39,6 @@ function FindBackdrops
# Used in other API functions and in managers
function FindPhotos
{
- if [ -z $NSCDE_ROOT ]; then
- echo "No NSCDE_ROOT defined. Exiting."
- exit 2
- fi
-
SysPhotos=$(ls -1 ${NSCDE_ROOT}/share/photos/*.png | awk -F "/" '{print $NF}' | sed 's/\.png$//g')
if [ -d "${FVWM_USERDIR}/photos" ]; then