mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
19 lines
282 B
Text
19 lines
282 B
Text
post_install() {
|
|
echo -e "\033[1mNotice\033[0m"
|
|
echo "Upgrading your installation..."
|
|
# some commands here
|
|
# more commands
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
#functions break if there isn't something in them
|
|
echo "nothing here" > /dev/null
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|