feat(apt-source): run apt-update after installation
This commit is contained in:
parent
4fe6ccd91c
commit
01f307a519
3 changed files with 7 additions and 1 deletions
repo.s3lph.me-apt-source
|
@ -1,5 +1,5 @@
|
|||
Package: __PKGNAME__
|
||||
Version: 0.2-1
|
||||
Version: 0.2-2
|
||||
Maintainer: __MAINTAINER__
|
||||
Section: web
|
||||
Priority: optional
|
||||
|
|
5
repo.s3lph.me-apt-source/debian.postinst
Executable file
5
repo.s3lph.me-apt-source/debian.postinst
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$1" == "configure" ]]; then
|
||||
apt update || true
|
||||
fi
|
|
@ -11,6 +11,7 @@ cp gitkabelsalatch-s3lph.sources build/pkgdir/etc/apt/sources.list.d/gitkabelsal
|
|||
cp gitkabelsalatch-s3lph.asc build/pkgdir/usr/share/keyrings/gitkabelsalatch-s3lph.asc
|
||||
cp debian.control build/pkgdir/DEBIAN/control
|
||||
cp debian.conffiles build/pkgdir/DEBIAN/conffiles
|
||||
cp debian.postinst build/pkgdir/DEBIAN/postinst
|
||||
cp debian.changelog "build/pkgdir/usr/share/doc/${PKGNAME}/changelog"
|
||||
cp debian.copyright "build/pkgdir/usr/share/doc/${PKGNAME}/copyright"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue