Clean valence.conf.sample generated by install_valence.sh
Use "mv" instead of "cp" to keep local repository clean. And add it into .gitignore. Change-Id: I0d3e3875a9979903c14843735b068f90a894b61a
This commit is contained in:
parent
577474c9c0
commit
f760b0f561
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,6 +21,7 @@ lib64
|
|||||||
# Installer logs
|
# Installer logs
|
||||||
pip-log.txt
|
pip-log.txt
|
||||||
install_valence.log
|
install_valence.log
|
||||||
|
etc/valence.conf.sample
|
||||||
|
|
||||||
# Unit test / coverage reports
|
# Unit test / coverage reports
|
||||||
.coverage
|
.coverage
|
||||||
|
@ -45,7 +45,7 @@ if [ ! -d "/etc/valence" ]; then
|
|||||||
fi
|
fi
|
||||||
chown "$CURR_USER":"$CURR_USER" /etc/valence
|
chown "$CURR_USER":"$CURR_USER" /etc/valence
|
||||||
VALENCE_CONF=/etc/valence/valence.conf
|
VALENCE_CONF=/etc/valence/valence.conf
|
||||||
cp "$DIR"/etc/valence.conf.sample /etc/valence/valence.conf
|
mv "$DIR"/etc/valence.conf.sample "$VALENCE_CONF"
|
||||||
|
|
||||||
sudo sed -i "s/#debug\s*=.*/debug=true/" $VALENCE_CONF
|
sudo sed -i "s/#debug\s*=.*/debug=true/" $VALENCE_CONF
|
||||||
sudo sed -i "s/#log_level\s*=.*/log_level=debug/" $VALENCE_CONF
|
sudo sed -i "s/#log_level\s*=.*/log_level=debug/" $VALENCE_CONF
|
||||||
|
Loading…
Reference in New Issue
Block a user