← Back to team overview

slub.team team mailing list archive

[Merge] lp:~slub.team/goobi-production/bug-784584 into lp:goobi-production

 

Ralf Claussnitzer has proposed merging lp:~slub.team/goobi-production/bug-784584 into lp:goobi-production.

Requested reviews:
  Saxon State Library Team (slub.team)
Related bugs:
  Bug #784584 in Goobi.Production: "default config references missing script files "
  https://bugs.launchpad.net/goobi-production/+bug/784584

For more details, see:
https://code.launchpad.net/~slub.team/goobi-production/bug-784584/+merge/61567

Fixes bug lp784584.
-- 
https://code.launchpad.net/~slub.team/goobi-production/bug-784584/+merge/61567
Your team Saxon State Library Team is requested to review the proposed merge of lp:~slub.team/goobi-production/bug-784584 into lp:goobi-production.
=== added directory 'scripts'
=== added file 'scripts/script_createDirMeta.sh'
--- scripts/script_createDirMeta.sh	1970-01-01 00:00:00 +0000
+++ scripts/script_createDirMeta.sh	2011-05-19 13:31:17 +0000
@@ -0,0 +1,31 @@
+#!/bin/bash
+#
+# This file is part of the Goobi Application - a Workflow tool for the support of
+# mass digitization.
+#
+# Visit the websites for more information.
+#    - http://gdz.sub.uni-goettingen.de
+#    - http://www.goobi.org
+#    - http://launchpad.net/goobi-production
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more details. You
+# should have received a copy of the GNU General Public License along with this
+# program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA 02111-1307 USA
+#
+
+#
+# Note: Ensure that Tomcat has permission to execute the given commands.
+#
+
+Directory="$1"
+
+/bin/mkdir -vm 0775 "$Directory"
+

=== added file 'scripts/script_createDirUserHome.sh'
--- scripts/script_createDirUserHome.sh	1970-01-01 00:00:00 +0000
+++ scripts/script_createDirUserHome.sh	2011-05-19 13:31:17 +0000
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# This file is part of the Goobi Application - a Workflow tool for the support of
+# mass digitization.
+#
+# Visit the websites for more information.
+#    - http://gdz.sub.uni-goettingen.de
+#    - http://www.goobi.org
+#    - http://launchpad.net/goobi-production
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more details. You
+# should have received a copy of the GNU General Public License along with this
+# program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA 02111-1307 USA
+#
+
+#
+# Note: Ensure that Tomcat has permission to execute the given commands.
+#
+
+User="$1"
+Home="$2"
+
+/bin/mkdir "$Home"
+/bin/chmod g+w "$Home"
+/bin/chown $User "$Home"
+/bin/chgrp tomcat "$Home"
+

=== added file 'scripts/script_createSymLink.sh'
--- scripts/script_createSymLink.sh	1970-01-01 00:00:00 +0000
+++ scripts/script_createSymLink.sh	2011-05-19 13:31:17 +0000
@@ -0,0 +1,33 @@
+#!/bin/bash
+#
+# This file is part of the Goobi Application - a Workflow tool for the support of
+# mass digitization.
+#
+# Visit the websites for more information.
+#    - http://gdz.sub.uni-goettingen.de
+#    - http://www.goobi.org
+#    - http://launchpad.net/goobi-production
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more details. You
+# should have received a copy of the GNU General Public License along with this
+# program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA 02111-1307 USA
+#
+
+#
+# Note: Ensure that Tomcat has permission to execute the given commands.
+#
+
+Source="$1"
+Target="$2"
+User="$3"
+
+/bin/ln -vs "$Source" "$Target"
+/bin/chown -vR "$User" "$Source" 

=== added file 'scripts/script_deleteSymLink.sh'
--- scripts/script_deleteSymLink.sh	1970-01-01 00:00:00 +0000
+++ scripts/script_deleteSymLink.sh	2011-05-19 13:31:17 +0000
@@ -0,0 +1,30 @@
+#!/bin/bash
+#
+# This file is part of the Goobi Application - a Workflow tool for the support of
+# mass digitization.
+#
+# Visit the websites for more information.
+#    - http://gdz.sub.uni-goettingen.de
+#    - http://www.goobi.org
+#    - http://launchpad.net/goobi-production
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more details. You
+# should have received a copy of the GNU General Public License along with this
+# program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA 02111-1307 USA
+#
+
+#
+# Note: Ensure that Tomcat has permission to execute the given commands.
+#
+
+Link="$1"
+
+rm -v "$Link"


Follow ups