| 1 | post_install() { |
| 2 | echo "" |
| 3 | echo "====================================================================" |
| 4 | echo " FORTRESS - Terminal File Explorer" |
| 5 | echo "====================================================================" |
| 6 | echo "" |
| 7 | echo " The 'fortress' command is now available!" |
| 8 | echo "" |
| 9 | echo " Shell integration (cd-on-exit) has been installed:" |
| 10 | echo " • Bash: Auto-loaded via /etc/profile.d/fortress.sh" |
| 11 | echo " • Fish: Auto-loaded via vendor_functions.d" |
| 12 | echo " • Zsh: Add to ~/.zshrc:" |
| 13 | echo " source /usr/share/fortress/fortress.sh" |
| 14 | echo "" |
| 15 | echo " You may need to restart your shell or run:" |
| 16 | echo " source /etc/profile.d/fortress.sh # bash" |
| 17 | echo "" |
| 18 | echo " Usage:" |
| 19 | echo " fortress - Start the file explorer" |
| 20 | echo " Press 'c' on a directory to cd there and exit" |
| 21 | echo "" |
| 22 | echo " Documentation: /usr/share/doc/fortress/" |
| 23 | echo "" |
| 24 | echo "====================================================================" |
| 25 | echo "" |
| 26 | } |
| 27 | |
| 28 | post_upgrade() { |
| 29 | post_install |
| 30 | } |