#3 Add ability to install to home directory for non-root users

Open
opened 7 years ago by JasKinasis · 0 comments

It might be nice for non-root users to be able to install note locally in their home directory.

The scripts (note and notesettings) could go into ~/bin/ and the man pages into ~/man/

The installation script (or makefile) would have to detect whether we are running as root, or as a standard user and then either install to /usr/local/, or to /home/user/

Note to self:

if [ $EUID ]; then 
    echo "NOT root!"
else
    echo "GOT root!"
fi
It might be nice for non-root users to be able to install note locally in their home directory. The scripts (note and notesettings) could go into ~/bin/ and the man pages into ~/man/ The installation script (or makefile) would have to detect whether we are running as root, or as a standard user and then either install to /usr/local/, or to /home/user/ Note to self: ``` if [ $EUID ]; then echo "NOT root!" else echo "GOT root!" fi ```
Sign in to join this conversation.
No Label
Bug
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.