summarylogtreecommitdiffstats
path: root/miro-pdf.install
blob: 2d59de292c9dada3acf9ce047cecc0e77afdd0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## arg 1:  the new package version
post_install() {
	echo "==========================================================================="
	echo "Miro-pdf comes with a binding configuration file"
	echo "that needs to be installed into your home directory."
	echo ""
	echo "Please copy the file at /usr/share/miro-pdf/miro.conf"
	echo "to ~/.config/miro-pdf/miro.conf"
	echo ""
	echo "This needs to be done for every version of miro-pdf."
	echo ""
	echo "This can be done with the following command:"
	echo "install -Dm644 /usr/share/miro-pdf/miro.conf ~/.config/miro-pdf/miro.conf"
	echo "========================================================================="
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
	echo "==========================================================================="
	echo "Miro-pdf comes with a binding configuration file"
	echo "that needs to be installed into your home directory."
	echo ""
	echo "Please copy the file at /usr/share/miro-pdf/miro.conf"
	echo "to ~/.config/miro-pdf/miro.conf"
	echo ""
	echo "This needs to be done for every version of miro-pdf."
	echo ""
	echo "This can be done with the following command:"
	echo "install -Dm644 /usr/share/miro-pdf/miro.conf ~/.config/miro-pdf/miro.conf"
	echo "========================================================================="
}