Some proposed fixes for Linux/Mac OS Elements install.sh

  1. Use symlink instead of mv and cp. No need to create duplicate files.

  2. Create /usr/local/bin/ebuild with proper owner and group.

  3. Set executable permisson on shared library and program files (zip archive does not preserve executable permission).

  4. Install Linux shared library to /usr/local/lib instead of /usr/lib.

  5. Run ldconfig after installing the Linux shared library.

  6. Run touch with sudo so that elements can be installed to /opt/elements. or /usr/local/lib/elements/

install.sh.patch.txt (2.2 KB)

install.sh.txt (9.7 KB)

2 Likes

I’ve merged most of your suggested changes, thanx!