Subject: pkg/18174: x11/gdm {DE}INSTALL script bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <julien.letessier@sun.com>
List: netbsd-bugs
Date: 09/05/2002 04:41:06
>Number:         18174
>Category:       pkg
>Synopsis:       x11/gdm {DE}INSTALL script bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 05 04:42:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julien T. Letessier
>Release:        Zoularis/Solaris8
>Organization:
Sun Labs Europe
>Environment:
SunOS mikdemia 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise
>Description:
gdm's INSTALL and DEINSTALL scripts use constructs (complex parameter expansion) that don't exist in POSIX bourne shell. They do exist in GNU bash, however.
>How-To-Repeat:
Build gdm on Solaris.
>Fix:
Index: INSTALL
===================================================================
A simple solution is to use /bin/bash instead. But this only works if /bin/bash exists in base NetBSD :)

RCS file: /cvsroot/pkgsrc/x11/gdm/INSTALL,v
retrieving revision 1.1
diff -u -r1.1 INSTALL
--- INSTALL     2001/10/31 22:10:43     1.1
+++ INSTALL     2002/09/05 11:34:56
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # $NetBSD: INSTALL,v 1.1 2001/10/31 22:10:43 zuntum Exp $


Index: DEINSTALL
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gdm/DEINSTALL,v
retrieving revision 1.1
diff -u -r1.1 DEINSTALL
--- DEINSTALL   2001/10/31 22:10:43     1.1
+++ DEINSTALL   2002/09/05 11:39:10
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # $NetBSD: DEINSTALL,v 1.1 2001/10/31 22:10:43 zuntum Exp $


>Release-Note:
>Audit-Trail:
>Unformatted: