updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / miktex / miktex.install
blob9a2218e8ab7da695651422fc00f7cf86b7f92718
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   /bin/echo "Choose a repository from \"mpm --list-repositories\" and set MIKTEX_REPOSITORY to it in your .bashrc"
12   /bin/echo "Choose an Install-Directory for the miktex-packages and set MIKTEX_INSTALLROOT to it in your .bashrc"
13   /bin/echo "You have to include the Install-Directory into TEXINPUTS"
17 # arg 1:  the new package version
18 # arg 2:  the old package version
19 pre_upgrade() {
20   /bin/true
23 # arg 1:  the new package version
24 # arg 2:  the old package version
25 post_upgrade() {
26   /bin/true
29 # arg 1:  the old package version
30 pre_remove() {
31   /bin/true
34 # arg 1:  the old package version
35 post_remove() {
36   /bin/true
39 op=$1
40 shift
41 $op $*