summaryrefslogtreecommitdiff
path: root/redis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redis.sh')
-rw-r--r--redis.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.sh b/redis.sh
index c92d9d9..d4d2f05 100644
--- a/redis.sh
+++ b/redis.sh
@@ -61,8 +61,8 @@ if [ ! -f $REDIS_CONF ]; then
echo "export PATH=$REDIS_DEST/src:\$PATH" >> "$REDIS_CONF"
echo "Redis configuration has been stored in '$REDIS_CONF'."
- if ! grep ". \"$REDIS_CONF\"" $HOME/.bashrc; then
- echo ". \"$REDIS_CONF\"" >> $HOME/.bashrc
+ if ! grep ". \"$REDIS_CONF\"" $OT_UI_CONF; then
+ echo ". \"$REDIS_CONF\"" >> $OT_UI_CONF
fi
fi