kill one more DEINSTALL.
This commit is contained in:
parent
036bbe0b3b
commit
923b147032
@ -1,24 +0,0 @@
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/12/15 06:11:34 jolan Exp $
|
||||
#!/bin/sh
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
SYSCONFDIR=${SYSCONFDIR:-/etc}
|
||||
CONFDIR=${SYSCONFDIR}/xfce4
|
||||
CONF=$CONFDIR/menu.xml
|
||||
|
||||
if [ -f ${CONFFILE} ];
|
||||
then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f ${CONF}"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
@ -1,65 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2003/12/15 06:11:34 jolan Exp $
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
SYSCONFDIR=${SYSCONFDIR:-/etc}
|
||||
CONFDIR=${SYSCONFDIR}/xfce4
|
||||
CONF=$CONFDIR/menu.xml
|
||||
EXAMPLECONFDIR=$PREFIX/share/examples/xfdesktop
|
||||
EXAMPLECONF=$EXAMPLECONFDIR/menu.xml
|
||||
|
||||
do_confdir_install()
|
||||
{
|
||||
install -d -o root -g wheel -m 755 $CONFDIR
|
||||
}
|
||||
|
||||
do_conf_install()
|
||||
{
|
||||
install -o root -g wheel -m 644 $EXAMPLECONF $CONF
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration file has been installed to:"
|
||||
echo "| $CONF."
|
||||
echo "| Please view this file and change the configuration to meet your needs."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
do_conf_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration file at $CONF"
|
||||
echo "| has NOT been changed. You may want to compare it to"
|
||||
echo "| the current samples in $EXAMPLECONFDIR"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
#
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ ! -d $CONFDIR ]; then
|
||||
do_confdir_install
|
||||
fi
|
||||
if [ ! -f $CONF ]; then
|
||||
do_conf_install $1
|
||||
else
|
||||
do_conf_notice $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2004/09/15 19:26:33 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2004/10/26 18:56:24 espie Exp $
|
||||
bin/xfdesktop
|
||||
lib/xfce4/
|
||||
lib/xfce4/mcs-plugins/
|
||||
@ -7,7 +7,9 @@ lib/xfce4/mcs-plugins/backdrop_settings.la
|
||||
lib/xfce4/mcs-plugins/workspaces_settings.a
|
||||
lib/xfce4/mcs-plugins/workspaces_settings.la
|
||||
share/examples/xfdesktop/
|
||||
@sample ${SYSCONFDIR}/xfce4/
|
||||
share/examples/xfdesktop/menu.xml
|
||||
@sample ${SYSCONFDIR}/xfce4/menu.xml
|
||||
share/examples/xfdesktop/menu.xml.az
|
||||
share/examples/xfdesktop/menu.xml.ca
|
||||
share/examples/xfdesktop/menu.xml.de
|
||||
|
Loading…
Reference in New Issue
Block a user