File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111 : " ${INSTALL_PREFIX:=/ usr/ local} "
1212fi
1313
14+ mkdir -p ${INSTALL_PREFIX} /lib
1415cp -r . ${INSTALL_PREFIX} /lib/crew-sudo
1516
17+ mkdir -p ${INSTALL_PREFIX} /bin
1618ln -sf ../lib/crew-sudo/crew-sudo ${INSTALL_PREFIX} /bin/crew-sudo
1719ln -sf ../lib/crew-sudo/crew-sudo ${INSTALL_PREFIX} /bin/sudo
1820
1921if [ -d ${INSTALL_PREFIX} /etc/env.d ]; then
2022 # installing under chromebrew
23+ mkdir -p ${INSTALL_PREFIX} /etc/{env.d,bash.d}
2124 ln -sf ../lib/crew-sudo/autostart/crew-sudo.sh ${INSTALL_PREFIX} /etc/env.d/crew_sudo
2225 ln -sf ../lib/crew-sudo/autocomplete/crew-sudo.sh ${INSTALL_PREFIX} /etc/bash.d/crew_sudo
2326else
2427 # installing without chromebrew, append the autostart script to bashrc
25- echo " source ${INSTALL_PREFIX} /lib/crew-sudo/autostart/crew-sudo.sh" > ~ /.bashrc
28+ echo " source ${INSTALL_PREFIX} /lib/crew-sudo/autostart/crew-sudo.sh" >> ~ /.bashrc
2629fi
You can’t perform that action at this time.
0 commit comments