From af5c905ec49085b7c396caf2c5166f0c34cbeb3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 3 Apr 2019 18:05:50 +0200 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../metapackages/ubiquity-trinity/debian/changelog | 6 --- .../metapackages/ubiquity-trinity/debian/compat | 1 - .../metapackages/ubiquity-trinity/debian/control | 11 ----- .../metapackages/ubiquity-trinity/debian/copyright | 23 ---------- .../metapackages/ubiquity-trinity/debian/install | 1 - .../metapackages/ubiquity-trinity/debian/rules | 6 --- .../ubiquity-trinity/debian/source/format | 1 - .../ubiquity-trinity/debian/source/options | 3 -- .../ubiquity-trinity/ubiquity-hooks/55_trinity | 52 ---------------------- 9 files changed, 104 deletions(-) delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/control delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/install delete mode 100755 ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format delete mode 100644 ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options delete mode 100755 ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity (limited to 'ubuntu/maverick/metapackages/ubiquity-trinity') diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog deleted file mode 100644 index 2b5f57a68..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog +++ /dev/null @@ -1,6 +0,0 @@ -ubiquity-trinity (4:3.5.13-1ubuntu0+ax0) precise; urgency=low - - * Initial version - - -- Slávek Banko Wed, 19 Dec 2012 18:54:50 +0100 - diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat deleted file mode 100644 index 7f8f011eb..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control deleted file mode 100644 index 3edef9d2b..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control +++ /dev/null @@ -1,11 +0,0 @@ -Source: ubiquity-trinity -Section: admin -Priority: optional -Maintainer: Timothy Pearson -Build-Depends: cdbs, debhelper (>= 7.0.50~) -Standards-Version: 3.8.4 - -Package: ubiquity-trinity -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, ubiquity-frontend-gtk | ubiquity -Description: Ubiquity addon scripts for Trinity diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright deleted file mode 100644 index a866ee13d..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Author: Slávek Banko - -License: - - This package 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. - - This package 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 package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. - -The Debian packaging is (C) 2010, Slávek Banko and -is licensed under the GPL, see above. diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install deleted file mode 100644 index 2f8bf51a5..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install +++ /dev/null @@ -1 +0,0 @@ -ubiquity-hooks/* usr/lib/ubiquity/target-config diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules deleted file mode 100755 index 9ded53d05..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules +++ /dev/null @@ -1,6 +0,0 @@ -#! /usr/bin/make -f - -include /usr/share/cdbs/1/rules/debhelper.mk - -DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ - && echo xz || echo bzip2) diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format deleted file mode 100644 index 89ae9db8f..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options deleted file mode 100644 index d71748bba..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options +++ /dev/null @@ -1,3 +0,0 @@ -# Use xz instead of gzip -compression = "xz" -compression-level = 9 diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity deleted file mode 100755 index e31165c02..000000000 --- a/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -set -e - -#-- configure autologin -. /usr/share/debconf/confmodule - -export LANG=C # avoid locale errors from perl -ROOT=/target -chroot=chroot -log='log-output -t trinity-livecd' - -db_get passwd/username -USER="$RET" -db_get passwd/auto-login -if [ -n "$USER" ] && [ "$RET" = true ]; then - if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then - # Configure KDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/kdm/kdmrc - fi - - if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then - # Configure TDM autologin - $log $chroot $ROOT sed -i$BACKUP -r \ - -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ - -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/tdm/tdmrc - fi -fi - -#-- cleanup additional packages -packages="" -if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then - packages="$packages casper-trinity" -fi -if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then - packages="$packages ubiquity-trinity" -fi -if [ -n "$packages" ]; then - if [ -f "$ROOT/usr/bin/apt-get" ]; then - $chroot $ROOT apt-get -y purge $packages - $chroot $ROOT apt-get -y --purge autoremove - else - $chroot $ROOT dpkg -P $packages - fi -fi - -exit 0 -- cgit v1.2.1