Rather than just including an old version of the functions in the launcher, build in functions.sh from the installer.
This really negates the need to even include functions.sh when it exists but I'll leave that in for now.
Change-Id: I579dff3cae8930f43eea04780fa60cb55738a7d3
Reviewed-on: http://gerrit.dmdirc.com/434
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
Move dialog functions into functions.sh rather than duplicating everywhere.
Dialog functions now try:
- kdialog if found and either kdeinit or kdeinit4 are running, or zenity is not found
- zenity if found
- dialog if found
- text-only (and question defaults to no, or a passed value)
Kinda fixes issue 3078 (if a dialog isn't shown, then kdialog, zenity and dialog are not installed, or user is not in an X session.)
Fixes issue 3042
Change-Id: I7678233a9e9af75bcf97d6b47ae925636334b2e3
Reviewed-on: http://gerrit.dmdirc.com/38
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>