john-s-lin / dotfiles

0 stars 0 forks source link

Have an install.sh script that checks OS type before executing OS-specific install #5

Closed john-s-lin closed 1 month ago

john-s-lin commented 12 months ago

May need to extend to Linux systems in general.

Extending install.sh to support macOS and Linux (Debian/Ubuntu)

# rough pseudocode
if [ uname -s == "Darwin" ]; then
    run macosx_install.sh
elif [ uname -s == "Linux" ]; then
    run linux_install.sh
fi