src update

This commit is contained in:
2025-10-21 20:00:21 +08:00
parent dfae67271b
commit 091176d017
49 changed files with 3101 additions and 1 deletions

30
src/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
case "$1" in
configure)
/var/lib/apm/$PACKAGE_NAME/files/bin/ace-init
systemctl daemon-reload
systemctl enable gxde-apm-fixer
systemctl enable apm-daily-update
systemctl start gxde-apm-fixer
systemctl start apm-daily-update
if [ -f /usr/lib/sysctl.d/apm.conf ];then
sysctl -p /usr/lib/sysctl.d/apm.conf
fi
;;
triggered)
amber-pm-configure-nvidia-host
amber-pm-dstore-patch
;;
esac
true