Hello, I have used the pre_upgrade hook, but the issue is I need access to the pkg contents, and I do not think that is possible using the pre_upgrade hook, I need it to execute the update.sh script which is within the package on the /opt/onedev directory when before upgrading. Basically, onedevs update script will migrate everything itself and also back it up. When installing onedev for the first time, there is no problems it will go smoothly, its when it needs to execute the update script on the directory (then preferably) discard of the upgrade files because onedevs update script also replaces all the code with the new code. It is highly annoying as it is semi-packaged by onedev, I dont mind if pacman comes along and just overwrites stuff, but I need to use the update.sh script from within the package from within the pre_upgrade hook. Thanks, -- Polarian GPG signature: 0770E5312238C760 Website: https://polarian.dev JID/XMPP: polarian@polarian.dev