Koha-clms/debian
Liz Rea 2973e20c1f Bug 12856: koha-disable fails without disabling site
To test:
Package up a branch with this patch
install that package
create a site - sudo koha-create --create-db testdisable
enable a site - sudo koha-enable testdisable
check it's enabled - sudo koha-list --enabled
* it should show up
disable a site - sudo koha-disable testdisable
Do this for both debian squeeze/wheezy and ubuntu 12.04 and 14.04, if you can. I'd like to see a sign off from a debian (sq/wh)eez(e/y) or ubuntu 12 user, because I could only test reliably on ubuntu 14.04.
* make sure apache restarts and no errors are produced
check it's disabled - sudo koha-list --enabled
* it should not show up
check the site is still there - sudo koha-list
* it should still be there
check that the config file has the Include for disabling uncommented
* the line Include /etc/koha/apache-shared-disable.conf should not have a # in front.
Re-enable the site - sudo koha-enable testdisable
* the line Include /etc/koha/apache-shared-disable.conf should have a # in front.

And the final question - does the site work? All other functions unchanged?

Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as expected. code reads better too.
Edit: I added a missing space in one line.
2014-11-27 11:42:03 -03:00
..
docs Bug 12750: koha-create should be able to configure the Z39.50/SRU server 2014-11-20 19:07:15 -03:00
scripts Bug 12856: koha-disable fails without disabling site 2014-11-27 11:42:03 -03:00
source
…
templates Bug 12750: koha-create should be able to configure the Z39.50/SRU server 2014-11-20 19:07:15 -03:00
README.build
…
bd-to-depends
…
build-git-snapshot Bug 13353 - update version used by build script 2014-11-27 11:03:11 -03:00
changelog Bug 13353 - combined changelog updates for 3.16 2014-11-27 11:03:23 -03:00
compat
…
control Bug 13303 - fix typo in debian/control 2014-11-19 21:31:07 -03:00
control.in Bug 12870 - require a higher version of Test::Simple 2014-09-15 10:52:43 -03:00
copyright
…
koha-common.README.Debian
…
koha-common.bash-completion Bug 10003: bash-completion for koha-list and other scripts 2014-05-05 16:03:00 +00:00
koha-common.config Bug 11404: (follow-up) only ask user if there are instances needing upgrading 2014-05-19 21:51:33 +00:00
koha-common.cron.d Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.cron.daily Bug 11577: Add an automatic renewal cronjob 2014-09-17 19:23:23 -03:00
koha-common.cron.hourly
…
koha-common.default Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.dirs
…
koha-common.docs Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.init Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.install Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-common.logrotate
…
koha-common.postinst Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-common.templates Bug 11404: Make the install process aware of the changes 2014-05-19 21:50:54 +00:00
koha-post-install-setup
…
koha.README.Debian
…
koha.apache-ports
…
koha.config
…
koha.dirs
…
koha.install
…
koha.postinst
…
koha.postrm
…
koha.prerm
…
list-deps Bug 12393 - Depend on SSL module for LWP, for OverDrive 2014-06-22 20:35:46 -03:00
rules Bug 13173 - remove some operations that are no longer needed 2014-10-31 12:11:03 -03:00
unavailable.html
…
update-control
…

README.build

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.