postinst 352 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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

EclipseSpark's avatar
EclipseSpark committed
16
if ! [ -e "/etc/apt/sources.list.d/parrot.list" ]
17
then
EclipseSpark's avatar
EclipseSpark committed
18
	parrot-mirror-selector us
19
20
fi

EclipseSpark's avatar
EclipseSpark committed
21
if ! [ -e "/etc/apt/sources.list" ]
22
23
24
then
	cp /etc/apt/sources.list.default /etc/apt/sources.list
fi