2020-12-08 18:07:05 +01:00
|
|
|
## arg 1: the new package version
|
|
|
|
#pre_install() {
|
|
|
|
# do something here
|
|
|
|
#}
|
|
|
|
|
|
|
|
## arg 1: the new package version
|
|
|
|
post_install() {
|
|
|
|
echo "This is now a split Package:"
|
2020-12-20 19:00:38 +01:00
|
|
|
echo "joplin: Contains Both CLI and Desktop"
|
|
|
|
echo "joplin-cli: for a CLI version"
|
|
|
|
echo "joplin-desktop: for a Desktop version"
|
2020-12-08 18:07:05 +01:00
|
|
|
echo "You may need to install them explicity on some AUR helpers"
|
2020-12-20 19:00:38 +01:00
|
|
|
echo "The joplin-desktop-electron package will be DEPRECATED!!"
|
2020-12-08 18:07:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
## arg 1: the new package version
|
|
|
|
## arg 2: the old package version
|
|
|
|
#pre_upgrade() {
|
|
|
|
# do something here
|
|
|
|
#}
|
|
|
|
|
|
|
|
## arg 1: the new package version
|
|
|
|
## arg 2: the old package version
|
|
|
|
post_upgrade() {
|
|
|
|
echo "This is now a split Package:"
|
2020-12-20 19:00:38 +01:00
|
|
|
echo "joplin: Contains Both CLI and Desktop"
|
|
|
|
echo "joplin-cli: for a CLI version"
|
|
|
|
echo "joplin-desktop: for a Desktop version"
|
2020-12-08 18:07:05 +01:00
|
|
|
echo "You may need to install them explicity on some AUR helpers"
|
2020-12-20 19:00:38 +01:00
|
|
|
echo "The joplin-desktop-electron package will be DEPRECATED!!"
|
2020-12-08 18:07:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
## arg 1: the old package version
|
|
|
|
#pre_remove() {
|
|
|
|
# do something here
|
|
|
|
#}
|
|
|
|
|
|
|
|
## arg 1: the old package version
|
|
|
|
#post_remove() {
|
|
|
|
# do something here
|
|
|
|
#}
|
|
|
|
|