summarylogtreecommitdiffstats
path: root/java-design-patterns.install
blob: b45011183930b532bb9441a0b178eba47e6a37b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  printf "$(tput setaf 4)Java Design Patterns has been installed into /opt/java-design-patterns$(tput sgr0)\n"
  printf "$(tput setaf 4)This folder has root permissions, so keep in mind you will not be able to modify anything in this directory.$(tput sgr0)\n"
  printf "$(tput setaf 4)If you intend to modify it as regular user, change folder's owner as follow:$(tput sgr0)\n"
  printf "$(tput setaf 2)chown -R <user>:<user> /opt/java-design-patterns$(tput sgr0)\n"
  printf "$(tput setaf 4)Note: You can copy the folder to a user writable destination in order to preserve the original sources and permissions.$(tput sgr0)\n"
}

post_upgrade() {
  post_install
}