Skip to content

Commit

Permalink
Use the new install script as make install target. Message about inst…
Browse files Browse the repository at this point in the history
…all script requiring root changed a bit to make it more evident.
  • Loading branch information
antirez committed Oct 3, 2011
1 parent 78f56a5 commit f1e60d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,4 @@ src/help.h:
@../utils/generate-command-help.rb > help.h

install: all
mkdir -p $(INSTALL_BIN)
$(INSTALL) $(PRGNAME) $(INSTALL_BIN)
$(INSTALL) $(BENCHPRGNAME) $(INSTALL_BIN)
$(INSTALL) $(CLIPRGNAME) $(INSTALL_BIN)
$(INSTALL) $(CHECKDUMPPRGNAME) $(INSTALL_BIN)
$(INSTALL) $(CHECKAOFPRGNAME) $(INSTALL_BIN)
@../utils/install_server.sh
2 changes: 1 addition & 1 deletion utils/install_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ echo "This script will help you easily set up a running redis server

#check for root user TODO: replace this with a call to "id"
if [ `whoami` != "root" ] ; then
echo "You must run this script as root. Sorry!"
echo "ERROR: You must run this installation script as root. Sorry!\n"
exit 1
fi

Expand Down

0 comments on commit f1e60d7

Please sign in to comment.