change glpi repo
This commit is contained in:
parent
12c7e6ade8
commit
ebdea0727b
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ VERSION=10.0.0
|
|||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
APP=glpi
|
||||
DEPOT=https://github.com/tomamplius/glpi.git
|
||||
DEPOT=https://github.com/glpi-project/glpi.git
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
|
@ -46,14 +46,14 @@ makedeb(){
|
|||
|
||||
mv ${PATH_DEB}/usr/share/glpi/files ${PATH_DEB}/var/lib/glpi/
|
||||
ln -s /var/lib/glpi/files ${PATH_DEB}/usr/share/glpi/files
|
||||
|
||||
|
||||
mv ${PATH_DEB}/usr/share/glpi/marketplace ${PATH_DEB}/var/lib/glpi/
|
||||
ln -s /var/lib/glpi/marketplace ${PATH_DEB}/usr/share/glpi/marketplace
|
||||
|
||||
|
||||
cp -r ${PATH_DEB}/usr/share/glpi/config/. ${PATH_DEB}/etc/glpi/
|
||||
rm -fr ${PATH_DEB}/usr/share/glpi/config/
|
||||
ln -s /etc/glpi/ ${PATH_DEB}/usr/share/glpi/config
|
||||
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue