Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 2ab7af00

Añadido por Rafael J. García Perdigón hace casi 6 años

New Config ocsiventory.

Ver diferencias:

ubuntu/bionic/all/linex-ocsinventory-agent/debian/changelog
linex-ocsinventory-agent (1.0) linex; urgency=medium
* Initial Release.
-- Rafael J. García Perdigón <rafael.garciap@juntaex.es> Mon, 03 Jun 2019 12:58:10 +0200
ubuntu/bionic/all/linex-ocsinventory-agent/debian/compat
8
ubuntu/bionic/all/linex-ocsinventory-agent/debian/control
Source: linex-ocsinventory-agent
Section: admin
Priority: optional
Maintainer: Rafael Jesús García Perdigón <rafael.garciap@gobex.es>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Package: linex-ocsinventory-agent
Architecture: all
Depends: ocsinventory-agent
Description: Configuración de ocsinventory para linex-Xubuntu
Configuración de ocsinventory para linex-Xubuntu.
ubuntu/bionic/all/linex-ocsinventory-agent/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: linex-ocsinventory-agent
Files: *
Copyright: 2019 Gobierno de Extremadura
License: GPL-3.0+
Files: debian/*
Copyright: 2019 Gobierno de Extremadura
License: GPL-3.0+
License: GPL-3.0+
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 3 of the License, or
(at your option) any later version.
.
This package 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, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
ubuntu/bionic/all/linex-ocsinventory-agent/debian/install
usr
ubuntu/bionic/all/linex-ocsinventory-agent/debian/linex-ocsinventory-agent.links
/usr/share/linex-ocsinventory/ocsinventory-agent.cfg /etc/ocsinventory/ocsinventory-agent.cfg
ubuntu/bionic/all/linex-ocsinventory-agent/debian/postinst
#!/bin/bash
set -e
tag=`cat /etc/escuela2.0 |grep -i hardware|cut -d "=" -f2`
if ! [ -z "$tag" ] ;then
if ! [ -z `cat /usr/share/linex-ocsinventory-agent/ocsinventory-agent.cfg|grep tag` ];then
sed -i '/tag/d' /usr/share/linex-ocsinventory-agent/ocsinventory-agent.cfg
fi
echo "tag=$tag" >> /usr/share/linex-ocsinventory-agent/ocsinventory-agent.cfg
fi
[ -d /var/lib/ocsinventory-agent/ ] && rm -r /var/lib/ocsinventory-agent/
ocsinventory-agent
exit 0
ubuntu/bionic/all/linex-ocsinventory-agent/debian/postrm
#!/bin/bash
set -e
PKG="linex-ocsinventory-agent"
SHAREDIR="/usr/share/linex-ocsinventory-agent"
remove_divert() {
diverter=$(dpkg-divert --listpackage $1)
if [ "$diverter" = "linex-ocsinventory-agent" ]; then
dpkg-divert --package linex-ocsinventory-agent --rename --remove $1
fi
}
if [ "$1" = remove ]; then
remove_divert /etc/ocsinventory/ocsinventory-agent.cfg
fi
[ -d /var/lib/ocsinventory-agent/ ] && rm -r /var/lib/ocsinventory-agent/
exit 0
ubuntu/bionic/all/linex-ocsinventory-agent/debian/preinst
#!/bin/bash
set -e
PKG="linex-ocsinventory-agent"
SHAREDIR="/usr/share/linex-ocsinventory-agent"
divert() {
diverted_file=$1
dpkg-divert --package "$PKG" --add --rename \
--divert "${diverted_file}-pre-$PKG" $diverted_file
}
divert /etc/ocsinventory/ocsinventory-agent.cfg
exit 0
ubuntu/bionic/all/linex-ocsinventory-agent/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
ubuntu/bionic/all/linex-ocsinventory-agent/usr/share/linex-ocsinventory-agent/ocsinventory-agent.cfg
server=puppet3.educarex.es

Exportar a: Unified diff