@@ -520,9 +520,9 @@ install_macfuse_via_homebrew() {
520520# Function to handle macFUSE installation with multiple methods
521521ensure_macfuse_installed () {
522522 # Skip if not on macOS
523- # if [ "$(detect_os)" != "darwin" ]; then
524- # return 0
525- # fi
523+ if [ " $( detect_os) " != " darwin" ]; then
524+ return 0
525+ fi
526526
527527 # Check if already installed
528528 if check_macfuse_installed; then
@@ -777,14 +777,24 @@ main() {
777777 # Verify installation
778778 if command_exists " $BINARY_NAME " ; then
779779 print_success " Installation completed successfully!"
780- print_info " Run '$BINARY_NAME --help' to get started"
781780
782781 # Show version if possible
783782 if " $BINARY_NAME " --version > /dev/null 2>&1 ; then
784783 local version
785784 version=$( " $BINARY_NAME " --version 2>&1 | head -n1 | cut -d ' ' -f 3)
786- print_info " Installed version: $version "
785+ print_info " Installed version: ${GREEN} $version ${NC} "
786+ fi
787+
788+ if [ " $package_type " = " tar.gz" ]; then
789+ print_info " Run '$BINARY_NAME --help' to get started"
790+ else
791+ print_info " Configure credentials in:
792+ /etc/default/tigrisfs - global
793+ /etc/default/tigrisfs-<bucket> - per bucket"
794+ print_info " Run 'systemctl --user start tigrisfs@<bucket>' to mount the bucket
795+ 'systemctl --user stop tigrisfs@<bucket>' to unmount the bucket"
787796 fi
797+
788798 else
789799 if [ " $package_type " = " tar.gz" ]; then
790800 print_warning " Installation completed, but $BINARY_NAME is not in PATH"
0 commit comments