View | Details | Raw Unified | Return to bug 22011 | Differences between
and this patch

Collapse All | Expand All

(-)debian/rules (+1 lines)
 Lines 72-81    Link Here 
72
       install -m 0644 python/error.py          debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
72
       install -m 0644 python/error.py          debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
73
       install -m 0644 python/shell.py          debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
73
       install -m 0644 python/shell.py          debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
74
       install -m 0644 python/policy_result.py  debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
74
       install -m 0644 python/policy_result.py  debian/python-univention-lib/usr/lib/python$*/site-packages/univention/lib/
75
       install -d                             debian/shell-univention-lib/usr/share/univention-lib/
75
       install -d                             debian/shell-univention-lib/usr/share/univention-lib/
76
       install -m 0644 shell/all.sh           debian/shell-univention-lib/usr/share/univention-lib/
76
       install -m 0644 shell/all.sh           debian/shell-univention-lib/usr/share/univention-lib/
77
       install -m 0644 shell/ucr.sh           debian/shell-univention-lib/usr/share/univention-lib/
77
       install -m 0644 shell/ucr.sh           debian/shell-univention-lib/usr/share/univention-lib/
78
       install -m 0644 shell/base.sh          debian/shell-univention-lib/usr/share/univention-lib/
78
binary-arch: build install
79
binary-arch: build install
(-)shell/all.sh (+1 lines)
Line 1    Link Here 
1
. /usr/share/univention-lib/ucr.sh
1
. /usr/share/univention-lib/ucr.sh
2
. /usr/share/univention-lib/base.sh
(-)shell/base.sh (+39 lines)
Line 0    Link Here 
1
# Univention Common Python Library
2
#
3
# Copyright 2011 Univention GmbH
4
#
5
# http://www.univention.de/
6
#
7
# All rights reserved.
8
#
9
# The source code of this program is made available
10
# under the terms of the GNU Affero General Public License version 3
11
# (GNU AGPL V3) as published by the Free Software Foundation.
12
#
13
# Binary versions of this program provided by Univention to you as
14
# well as other copyrighted, protected or trademarked materials like
15
# Logos, graphics, fonts, specific documentations and configurations,
16
# cryptographic keys etc. are subject to a license agreement between
17
# you and Univention and not subject to the GNU AGPL V3.
18
#
19
# In the case you use this program under the terms of the GNU AGPL V3,
20
# the program is provided in the hope that it will be useful,
21
# but WITHOUT ANY WARRANTY; without even the implied warranty of
22
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
# GNU Affero General Public License for more details.
24
#
25
# You should have received a copy of the GNU Affero General Public
26
# License with the Debian GNU/Linux or Univention distribution in file
27
# /usr/share/common-licenses/AGPL-3; if not, see
28
# <http://www.gnu.org/licenses/>.
29
30
31
createLogfile () {
32
       DATEINAME=$(echo "$1" | sed -ne "s/-*//p")
33
       if [ ! -e "$DATEINAME" ] ; then
34
               touch "$DATEINAME"
35
               chown "$2" "$DATEINAME"
36
               chmod "$3" "$DATEINAME"
37
       fi
38
}
39

Return to bug 22011