nix-gh/install_install_d.sh
Wouter den Breejen c0dceea9f0
2007-10-22 13:22:56 +00:00

17 lines
246 B
Bash
Executable file

#! /bin/sh -e
if [ $(whoami) = "root" ]
then
su - wouterdb -c "cd /home/wouterdb/dev/nix-state/; make"
make install
chown -R wouterdb.wouterdb /nixstate2/nix/
./restartDaemon.sh
else
echo "You must be ROOT to run this script."
exit 0
fi