post_install() {
  # fixup permissions
  chmod 755 /usr/lib/node_modules \
	  /usr/lib/node_modules/pm2/node_modules \
	  /usr/lib/node_modules/pm2/node_modules/.bin
}

post_upgrade() {
  post_install
}
