Adam Warner
e938132c53
accidentally a space
...
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 21:02:10 +01:00
Adam Warner
1b34286264
verbiage
...
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 20:33:53 +01:00
Adam Warner
54f4f6d2d7
Add "${INSTALLER_DEPS[@]}" to package array
...
add `-f` to rm commands so that `set -e` is not kicked
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 20:23:07 +01:00
Adam Warner
07e5e8e67a
need to include PH_TEST="true"
so that the install script isn't run when sourcing it.. doh
...
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 20:03:19 +01:00
Adam Warner
3c25094495
No need to declare PKG_MANAGER
, as it's already declared in basic-install
...
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 19:56:36 +01:00
Adam Warner
95e3a5944d
Initial overhaul of uninstall script sourcing distro_check()
from basic-install.sh
Totally untested as yet...
...
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 19:53:43 +01:00
Adam Warner
64f29120c8
indent nested function in basic-install.sh
...
fix dependency in uninstall.sh
Signed-off-by: Adam Warner <adamw@rner.email>
2017-08-17 19:43:07 +01:00
WaLLy3K
d0492898eb
Add "php5-sqlite" to uninstall dependencies
2017-07-05 17:21:17 +10:00
Adam Warner
536585b846
Colourise Core Output Text ( #1471 )
...
* Define colours within COL_TABLE
* Do not output colours for non-terminal instances
* Removed ":::"
* Fixed indenting & spacing
* Made output consistent throughout project
* Reworded text to fit on standard 80 char wide Terminal screen
* Made 'sudo raspi-config' warning (insufficient disk space) only show on RPi
* Make "Installation/Update Complete" the final msg
* Remove redundant messages
* Simplify update available message
* Confirm user would like to begin uninstall
* If "git pull" string says "Already up-to-date.", place [i] before it
* Colour Temp/Interface output
* Made `pihole disable 5z` invalid
* Added error fallback if invalid argument (not s/m) is detected
* Quoted "$2" for consistency
* Updated help text
* L185/286: Replaced echo with redirect
* User agents for adblock.mahakala.is/adaway.org unnecessary
* Print newline on confirmation of repository reset
* Add output to admin-related dnsmasq restarts
* Return error message for "pihole -q"
* Imply default checkout behaviour with y/N
* Fix uninstall failing to remove pihole user
* Print checkout 'git remote show origin' STDERR on new line
* Replaced checkout "AdminLTE" wording with "Web Admin"
2017-06-21 21:49:05 +10:00
Flo
2a881a90ac
Update old install command to new
2017-02-24 11:29:19 +01:00
Jacob Salmela
7a1a2dec67
update license to EUPL on core files
2017-02-22 11:55:20 -06:00
trinapicot
0a423ffd40
Fix check for lighttpd install before configuration directory removal
2016-12-07 20:31:34 -07:00
Mcat12
bd61f38169
Merge pull request #926 from zbholman/patch-2
...
Added removal of pihole user to the uninstall.sh
2016-11-16 17:31:56 -05:00
zbholman
cac9c63325
Added removal of pihole user to the uninstall.sh
...
Not sure if I should have created a variable for the username or if the echo is necessary. And this is my first time doing a pull request, hopefully it works out lol.
2016-11-16 17:06:30 -05:00
Hayden Knowles
86d3ca48ae
moved newline to correct place
2016-11-15 22:40:57 +13:00
Marcus Hildum
ec4f5007e7
remove bad {
2016-10-21 23:59:31 -07:00
Marcus Hildum
7ebaf8e843
Consistency
...
Now with block indents!
2016-10-21 23:23:31 -07:00
Marcus Hildum
28eeaf201b
Standardize function declaration
...
There were no fewer than three styles of function declaration going
on in these files, so I attempted to standardize them to the typical
myfucn() {
}
style.
2016-10-19 19:47:45 -07:00
Promofaux
b3e7619048
curly brackets all the variables!
2016-08-21 02:12:02 +01:00
bcambl
943f7c06b5
uninstaller support for Fedora/CentOS
2016-06-11 15:58:49 -06:00
bcambl
27a9642090
check for sudo via 'command -v' instead of dkpg-query
2016-06-11 15:58:49 -06:00
Mcat12
a16cd9aef7
Merge pull request #469 from pi-hole/web-sudo
...
Give WebUI permissions to run pihole commands
2016-05-26 18:45:04 -04:00
Carter Maxwell
c0e1772e21
Replace toilet with echo
2016-05-07 11:44:18 -07:00
Mcat12
24de6d6fc9
Allow sudoers file to be uninstalled
2016-04-20 21:43:01 -04:00
nate
5347ee4896
Write verbose status of processes to debug log & Minor UI Fixes
2016-04-04 00:59:24 -05:00
Promofaux
c6fb0bad4b
change spinstr to match spinstr in basic-install.sh
2016-04-03 21:45:00 +01:00
nate
3dff7e80fc
Fixed path to /etc/bash_completion.d/
2016-04-02 18:52:03 -05:00
nate
d47fbbbe96
Mcat12 requests. Added bash-completion support
2016-04-02 17:58:10 -05:00
nate
777676b525
Made uninstall.sh and pihole.sh executable.
2016-03-31 20:33:15 -05:00
nate
28f2a1309e
Merge branch 'development'
...
Conflicts:
automated install/uninstall.sh
2016-03-31 20:25:54 -05:00
nate
4b0a7c2252
Added 01-pihole.conf to be removed on uninstall regardless of removing dnsmasq
2016-03-30 20:23:24 -05:00
nate
456eee05f2
Added pihole.sh to /usr/local/bin
...
Uninstall.sh will handle removing the file
2016-03-28 18:55:37 -05:00
nate
00b65abd09
Minor changes to reflect new tool usage
...
Removed symlink of scripts to u/l/b
Added copy for setupLCD to /opt/pihole/
New spinner added to gravity.sh to reflect new spinner in basic-install.sh and uninstall.sh
2016-03-28 18:44:54 -05:00
nate
32dd594f06
Check if lighttpd has been uninstalled before removing conf files
...
If is still installed, then restore the original lighttpd.conf file.
2016-03-28 17:08:19 -05:00
nate
660e71f032
Added blacklist.sh to be removed on uninstall from u/l/b
2016-03-28 16:32:42 -05:00
nate
138aeaf8c7
Added uninstall.sh and updateDashboard.sh to be removed on uninstall from u/l/b
2016-03-28 16:25:12 -05:00
nate
80f4bf9475
Bug fixes
...
Fixed DONE! to done!
Fixed symlinking user scripts
Fixed /n to \n
2016-03-28 16:20:23 -05:00
nate
c520c55ff4
Addressed UAT issues and moved scripts to /opt/pihole
...
Symlinks now include the /etc/pihole scripts in the user's PATH.
2016-03-28 10:24:13 -05:00
Nate
8c45bd32b7
Loop through dependencies for future expansion.
...
Syntax of uninstall script now matches basic-install.sh.
More error handling of missing default files.
Force user prompt for removing packages when uninstalling.
2016-03-27 12:31:05 -05:00
Nate
5442954db6
Prompt user to remove each dependent package if they do choose to remove packages at all.
2016-03-27 10:58:48 -05:00
Nate
901cb44f5e
Added /etc/.pihole/ and /var/log/*pihole* to uninstall as well as fixed missing call to removeNoPurge.
2016-03-26 16:57:34 -05:00
Nate
7388461ede
Modularized uninstall for cleanliness and robust usability.
2016-03-26 16:57:27 -05:00
nate
5223627b71
read locks echos... reordered to warn user
2016-03-26 16:57:22 -05:00
nate
646c4a3ccc
Newline not read correctly in prompt
2016-03-26 16:57:17 -05:00
nate
0b9e78df2c
Cleaned code and added prompt for purge on uninstall
2016-03-26 16:57:01 -05:00
Mcat12
48f9a61ff0
Updated License
2016-01-30 15:12:40 -05:00
jacobsalmela
0a0f00da3b
fixes #169
...
exits if sudo is not installed when run as a regular user
2016-01-16 14:10:03 -06:00
jacobsalmela
bee109c784
better uninstall
...
More from JoshKastang. This closes #153 as it is the last step from
his ideas.
2016-01-16 13:56:08 -06:00
Dan Schaper
22d0e82d92
Add GPL V2+ header
2015-12-06 06:31:49 -08:00
Jacob Salmela
4e50a03dfc
uninstall script
...
This should remove the Pi-hole.
2015-11-21 13:29:03 -06:00