diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-29 17:34:12 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-29 17:34:12 +0000 |
commit | c503c861f3fc11cae5743277f2acbc487feac84a (patch) | |
tree | cb6679163c8d3f71ca79865cbb8f4768f69eb089 /eclass | |
parent | tab fix (diff) | |
download | gentoo-2-c503c861f3fc11cae5743277f2acbc487feac84a.tar.gz gentoo-2-c503c861f3fc11cae5743277f2acbc487feac84a.tar.bz2 gentoo-2-c503c861f3fc11cae5743277f2acbc487feac84a.zip |
typo fix
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/commonbox.eclass | 24 | ||||
-rw-r--r-- | eclass/perl-module.eclass | 4 |
2 files changed, 24 insertions, 4 deletions
diff --git a/eclass/commonbox.eclass b/eclass/commonbox.eclass index 4e10aab1933b..d08f302e15b0 100644 --- a/eclass/commonbox.eclass +++ b/eclass/commonbox.eclass @@ -1,7 +1,7 @@ # Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 # Author: Seemant Kulleen <seemant@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.5 2002/07/15 01:39:33 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.6 2002/07/29 17:34:12 seemant Exp $ # The commonbox eclass is designed to allow easier installation of the box # window managers such as blackbox and fluxbox and commonbox @@ -12,7 +12,7 @@ ECLASS=commonbox INHERITED="$INHERITED $ECLASS" -EXPORT_FUNCTIONS commonify src_compile src_install +EXPORT_FUNCTIONS commonify src_compile src_install pkg_postinst DEPEND="x11-misc/commonbox-utils x11-themes/commonbox-styles" @@ -99,3 +99,23 @@ commonbox_src_install() { echo "/usr/bin/${MYBIN}" > ${D}/etc/X11/Sessions/${MYBIN} fperms a+x /etc/X11/Sessions/${MYBIN} } + +commonbox_pkg_postinst() { + #notify user about the new share dir + if [ -d /usr/share/commonbox ] + then + einfo + einfo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + einfo "! ${PN} no longer uses /usr/share/${PN} as the !" + einfo "! default share directory to contain styles and menus. !" + einfo "! The default directory is now /usr/share/commonbox !" + einfo "! Please move any files in /usr/share/${PN} that you !" + einfo "! wish to keep (personal styles and your menu) into the !" + einfo "! new directory and modify your menu files to point all !" + einfo "! listed paths to the new directory. !" + einfo "! Also, be sure to update the paths in each user's !" + einfo "! config file found in their home directory. !" + einfo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + einfo + fi +} diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index d8aa8f73de0d..8d636cb8799d 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,7 +1,7 @@ # Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 # Author: Seemant Kulleen <seemant@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.15 2002/07/27 18:28:00 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.16 2002/07/29 17:34:12 seemant Exp $ # The perl-module eclass is designed to allow easier installation of perl # modules, and their incorporation into the Gentoo Linux system. @@ -35,7 +35,7 @@ perl-module_src_test() { perl-module_src_install() { - perl_perlinfo + perl-post_perlinfo dodir ${POD_DIR} test -z ${mytargets} && mytargets="install" |