Always call chown intradmin after update
This commit is contained in:
parent
1f55ca1bfe
commit
9353d1d4e6
7
Makefile
7
Makefile
@ -19,10 +19,11 @@ install:
|
||||
test -d $(GITOLITE_DEST) && $(MAKEDIR) -p $(GITOLITE_DEST)/update.secondary.d
|
||||
test -d $(GITOLITE_DEST) && $(COPY) hooks/* $(GITOLITE_DEST)/update.secondary.d/
|
||||
|
||||
update: unstall install
|
||||
|
||||
upgrade:
|
||||
update:
|
||||
$(GIT) pull
|
||||
$(SHELL) commands/first-install.sh
|
||||
|
||||
upgrade: install
|
||||
|
||||
unstall:
|
||||
$(RM) -r $(DEST)/ACU/
|
||||
|
@ -21,8 +21,9 @@ done
|
||||
if ! getent passwd | grep "intradmin:" > /dev/null 2> /dev/null
|
||||
then
|
||||
useradd --shell /bin/false --uid 942 intradmin &&
|
||||
mkdir -p /home/intradmin &&
|
||||
chown -R intradmin:intradmin /home/intradmin
|
||||
mkdir -p /home/intradmin
|
||||
fi
|
||||
|
||||
chown -R intradmin:intradmin /home/intradmin
|
||||
|
||||
echo "System ready!"
|
Reference in New Issue
Block a user