Remove source'ing bash completion fragment, would fall out out scope as soon as the script ends.

This commit is contained in:
Dan Schaper 2016-10-07 20:08:28 -07:00
parent f91fc54f89
commit af2d9055fc

View file

@ -553,7 +553,6 @@ install_scripts() {
install -o "${USER}" -Dm755 -t /usr/local/bin/ pihole
install -Dm644 ./advanced/bash-completion/pihole /etc/bash_completion.d/pihole
. /etc/bash_completion.d/pihole
#Tidy up /usr/local/bin directory if installing over previous install.
oldFiles=( gravity chronometer whitelist blacklist piholeLogFlush updateDashboard uninstall setupLCD piholeDebug)