## arg 1:  the new package version
#pre_install() {
	# do something here
#}

## arg 1:  the new package version
post_install() {
  release=$(lsb_release -d | awk '{print $2}')
  if [ "$(grep -i xivastudio <<< $release)" ];then
    if [ -e "/etc/skel/.config/falkon/profiles/default/settings.ini" ];then
      sed -i 's/biglinux.com.br/xivastudio.org/' /etc/skel/.config/falkon/profiles/default/settings.ini
      sed -i 's/http/https/' /etc/skel/.config/falkon/profiles/default/settings.ini
    fi
  fi
}

## arg 2:  the old package version
#pre_upgrade() {
	# do something here
#}

## arg 2:  the old package version
post_upgrade() {
	post_install
}

## arg 1:  the old package version
#pre_remove() {
	# do something here
#}

## arg 1:  the old package version
#post_remove() {
	# do something here
#}
 
