From 2ca6c71a5db3d93bdb4e7a9c324ea8c577143553 Mon Sep 17 00:00:00 2001 From: kueller Date: Wed, 3 Jun 2009 18:30:45 +0000 Subject: [PATCH] Weitere packages mit postremove scripten versehen git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_inn@4791 504e572c-2e33-0410-9681-be2bf7408885 --- tmp/postremove | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 tmp/postremove diff --git a/tmp/postremove b/tmp/postremove new file mode 100644 index 0000000..f2dfe96 --- /dev/null +++ b/tmp/postremove @@ -0,0 +1,65 @@ +#!/bin/bash +#Framework, welches ein komplettes Linux System aus den Sourcen erstellt +#dieses Framework wird im CVS Repository +#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt +# +#Lage dieser Datei im Archiv: $Source$ +# +#(c) 2003 Harald Kueller, Germany +#This program is free software; you can redistribute it and/or +#modify ist under the terms of the GNU General Public License +#as published by the Free Software Foundation; either version +#2 of the License, or (at your option) any later version. +# +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +#See the GNU General Public License for more details. +# +#You should have received a copy of the GNU General Public License +#along with this program; if not write to the Free Software Foundation, +#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#Script: inn postinstall +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.8 2007/04/29 12:39:32 kueller +#Festlegung der GID und UID fuer uucp. GID wird ein alias fuer dialout +# +#Revision 1.7 2006/09/26 10:33:04 segler +#pullnews likes the home directory /opt/inn owned by news:uucp +# +#Revision 1.6 2006/09/26 10:32:00 segler +#Viitor_inn->postinstall und tools/inn setzen ein paar Rechte neu +#die Tools newsx und suck fliegen raus, weil das perlscript pullnews das nun +#tut und pullnews Bestandteil vom inn est +# +#Revision 1.5 2006/09/25 10:53:31 segler +#bug in startup script: if ... - f (-f is correct) +#postinstall gives all in /opt/inn/db/* to news (not only active files) +# +#Revision 1.4 2006/06/29 14:44:33 segler +#user news.uucp likes to have (42/42) +# +#Revision 1.3 2006/06/29 13:31:50 segler +#some ownership / rights modifications to db.active +# +#Revision 1.2 2006/06/29 13:19:58 segler +#group news now is uucp +# +#Revision 1.1.1.1 2006/06/29 12:58:23 segler +#initial +# +# + +if getent passwd uucp 2>&1 >/dev/null; then + userdel news +fi +if getent group uucp 2>&1 >/dev/null; then + groupdel uucp +fi +