Commit d5889057 authored by EclipseSpark's avatar EclipseSpark
Browse files

Add /etc/parrot.testing check for postinst

parent 3cd4c337
#!/bin/bash
set -e
#update xapian index
if [ -x "/usr/sbin/update-xapian-index" ]
then
update-apt-xapian-index -vf
fi
#install parrot repositories if missing
if ! [ -e "/etc/apt/sources.list.d/parrot.list" ]
then
parrot-mirror-selector euro3 stable nonfree
fi
if [ -e "/etc/parrot.testing" ]
then
parrot-mirror-selector euro3 testing nonfree
fi
if ! [ -e "/etc/apt/sources.list" ]
then
echo /etc/apt/sources.list.parrot > /etc/apt/sources.list
fi
apt-parrot (2.6.1) testing; urgency=medium
* Add /etc/parrot.testing check for postinst
-- Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org> Sat, 09 Apr 2016 22:51:34 +0200
apt-parrot (2.6) testing; urgency=high
* Update for Parrot 3
......
dh_update_autotools_config
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_installdebconf
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
misc:Depends=debconf (>= 0.5) | debconf-2.0
misc:Pre-Depends=
/etc/apt/preferences.d/parrot-pinning
/etc/apt/sources.list.parrot
Package: apt-parrot
Version: 2.6
Architecture: all
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org>
Installed-Size: 57
Pre-Depends: parrot-archive-keyring, apt
Recommends: parrot-core, python-apt-common
Replaces: parrot-update-manager (<= 1.6)
Section: parrot
Priority: important
Homepage: http://www.parrotsec.org/
Description: Parrot APT repositories
this package will install an /etc/apt/sources.list file containing
all the repositories provided by FrozenBox Dev Team for Parrot OS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment