summarylogtreecommitdiffstats
path: root/install.sh
blob: 40f4330c0079c8b0129e1c8b505463a7fb702d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

export _DID_INSTALL=0

post_install() {
    [ "$_DID_INSTALL" -eq 1 ] && return
   
    export _DID_INSTALL=1
    echo "Making /var/lib/pacman-utils/env happy in its new home..."
    virtualenv --relocatable /var/lib/pacman-utils/env >/dev/null 2>&1
}

post_upgrade() {
    post_install $@
}