From 2d18d44ecd4bfe976805024279e5118d11be26b9 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:18 +0000 Subject: Added debian/ directory and changelog, control, postins... Author: che Date: 1998-12-22 05:06:44 GMT Added debian/ directory and changelog, control, postinst, postrm, rules, and shlibs.local files --- debian/postinst | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 debian/postinst (limited to 'debian/postinst') diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 00000000..d36c5a70 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,50 @@ +#! /bin/sh + +# apt postinst, based liberally on James Troup's gpm postinst +# Copyright (C) 1998, Ben Gertzfield + +# This program is free software; you can redistribute it and/or modify +# it 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. + +set -e + +create_apt_conf () +{ + echo "/etc/apt/sources.list does not exist; creating a default setup." + + cat > /etc/apt/sources.list <