{root,x11}-repo: Run 'apt update' in postinst
This commit is contained in:
parent
1410cb22f1
commit
4a18936130
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-root-packages
|
||||
TERMUX_PKG_DESCRIPTION="Package repository containing programs for rooted devices"
|
||||
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
|
||||
TERMUX_PKG_VERSION=1.0
|
||||
TERMUX_PKG_VERSION=1.1
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
|
||||
termux_step_make_install() {
|
||||
@ -9,3 +9,10 @@ termux_step_make_install() {
|
||||
echo "deb https://grimler.se root stable" > $TERMUX_PREFIX/etc/apt/sources.list.d/root.list
|
||||
cp $TERMUX_PKG_BUILDER_DIR/grimler.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
|
||||
}
|
||||
|
||||
termux_step_create_debscripts () {
|
||||
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
|
||||
echo "echo Downloading updated package list ..." >> postinst
|
||||
echo "apt update" >> postinst
|
||||
echo "exit 0" >> postinst
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux-x11.ml
|
||||
TERMUX_PKG_DESCRIPTION="Package repository containing X11 programs and libraries"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
||||
TERMUX_PKG_VERSION=1.1
|
||||
TERMUX_PKG_VERSION=1.2
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
|
||||
termux_step_make_install() {
|
||||
@ -9,3 +9,10 @@ termux_step_make_install() {
|
||||
echo "deb https://termux-x11.ml x11 main" > $TERMUX_PREFIX/etc/apt/sources.list.d/x11.list
|
||||
cp $TERMUX_PKG_BUILDER_DIR/xeffyr.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
|
||||
}
|
||||
|
||||
termux_step_create_debscripts () {
|
||||
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
|
||||
echo "echo Downloading updated package list ..." >> postinst
|
||||
echo "apt update" >> postinst
|
||||
echo "exit 0" >> postinst
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user