it workie

main
Matt C 2 years ago
parent 9a2d050238
commit 3a7e263768

3
.gitignore vendored

@ -0,0 +1,3 @@
pkg/
src/
*.pkg.tar.*

@ -10,11 +10,11 @@ provides=($pkgname)
conflicts=($pkgname)
depends=('bash')
source=('warner')
install="warner.install"
md5sums=('02ce7e9e8c29c3d110ca2280ac1cdfcf')
package() {
chmod +x warner
mkdir -p ${pkgdir}/usr/bin
cp warner ${pkgdir}/usr/bin/pkg-warner
ln -s /usr/bin/pkg-warner ${pkgdir}/usr/bin/{apt,apt-get,zypper,dnf,eopkg,apk}
}

@ -0,0 +1,10 @@
post_install() {
for x in apt apt-get zypper dnf eopkg apk; do
ln -s /usr/bin/pkg-warner /usr/bin/$x
echo "linked to $x"
done
}
post_upgrade() {
post_install
}
Loading…
Cancel
Save