sysconf fixes
This commit is contained in:
1 parent
b712852f9c
commit
419f994452
3 files changed
+15
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
current=$(date +%s -r /usr/share/glib-2.0/schemas/)
|
||||
touch /var/lib/ymp/sysconf/glib/update.date
|
||||
last=$(cat /var/lib/ymp/sysconf/glib/update.date)
|
||||
if [ "$current" != "$last" ] ; then
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
echo "$current" > /var/lib/ymp/sysconf/glib/update.date
|
||||
fi
|
||||
@@ -7,10 +7,12 @@ description='Low-level core library that forms the basis for projects such as GT
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=('https://download.gnome.org/sources/glib/2.75/glib-2.75.0.tar.xz')
|
||||
source=('https://download.gnome.org/sources/glib/2.75/glib-2.75.0.tar.xz'
|
||||
'glib.sysconf')
|
||||
depends=(libffi util-linux libpcre2 zlib)
|
||||
makedepends=( )
|
||||
md5sums=('6ac05ed98272c0a1927fbf1e32ebab8c')
|
||||
md5sums=('6ac05ed98272c0a1927fbf1e32ebab8c'
|
||||
'SKIP')
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
@@ -31,5 +33,7 @@ build(){
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
mkdir -p ${DESTDIR}/etc/sysconf.d/
|
||||
install ../glib.sysconf ${DESTDIR}/etc/sysconf.d/glib
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ if /bin/busybox [ ! -f /var/lib/ymp/sysconf/busybox/postinstall.done ] ; then
|
||||
/bin/busybox --install -s /bin
|
||||
/bin/busybox install /bin/busybox /bin/su
|
||||
/bin/busybox chmod u+s /bin/su
|
||||
/bin/busybox date > /var/lib/ymp/sysconf/busybox.postinst.done
|
||||
/bin/busybox date > /var/lib/ymp/sysconf/busybox/postinstall.done
|
||||
fi
|
||||
Reference in new issue
Block a user