don't enforce make to be run as root (prevents building rpm packages)

parent 634086c4
......@@ -40,21 +40,13 @@ while [[ $xcount -lt $pcount ]]; do
export ) git_export $HOME/Desktop/bashstyle-ng-$2 ;;
install ) if [[ $EUID != 0 ]]; then
echo -e "\n${RED}You're not root!\n"
exit 1
fi
if [[ -e $PWD/.make/build_done ]]; then
install ) if [[ -e $PWD/.make/build_done ]]; then
echo -e "\n${GREEN}Installing BashStyle-NG:\n"
installdirs_create && install_bsng && post_install
else echo -e "\n${RED}You need to run ./make build first!\n"
fi ;;
remove ) if [[ $EUID != 0 ]]; then
echo -e "\n${RED}You're not root!\n"
exit 1
fi
echo -e "\n${RED}Removing BashStyle-NG:\n"
remove ) echo -e "\n${RED}Removing BashStyle-NG:\n"
remove_bsng ;;
changelog ) $PWD/.make/changelog ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment