head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2020.06.01.12.39.14; author pin; state dead; branches; next 1.1; commitid cgBI5EKrENxViwaC; 1.1 date 2020.04.25.17.37.47; author gutteridge; state Exp; branches; next ; commitid LECatXAspBTd9N5C; desc @@ 1.2 log @x11/lxqt-admin: update to 0.15.0 lxqt-admin-0.15.0 / 2020-04-23 ============================== * Bumped version to 0.15.0. * Removed (duplicated) string casts definitions. * Avoid `==` shell test usage. * Allow build admin-user on NBSD. * Use QString Use multi-arg. * Replace deprecated QLatin1Literal. * Use the static QFileInfo method `exists()`. * Avoided C++11 possible range-loop Qt container detach. @ text @$NetBSD: patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd,v 1.1 2020/04/25 17:37:47 gutteridge Exp $ Avoid non-portable == shell test usage --- lxqt-admin-time/lxqt-admin-time-helper.freebsd.orig 2019-02-25 22:10:39.000000000 +0000 +++ lxqt-admin-time/lxqt-admin-time-helper.freebsd @@@@ -44,22 +44,22 @@@@ if [ "${newdate}" != "" ]; then date -f %s ${settime} fi; if [ "${usentp}" != "" ]; then - if [ "$usentp" == "true" ]; then + if [ "$usentp" = "true" ]; then sysrc ntpd_enable=YES service ntpd stop ntpd -g -q service ntpd start fi; - if [ "$usentp" == "false" ]; then + if [ "$usentp" = "false" ]; then sysrc ntpd_enable=false service ntpd onestop fi; fi; if [ "${islocaltime}" != "" ]; then - if [ $islocaltime == "false" ]; then + if [ $islocaltime = "false" ]; then rm -f /etc/wall_cmos_clock; fi; - if [ $islocaltime == "true" ]; then + if [ $islocaltime = "true" ]; then touch /etc/wall_cmos_clock fi fi; @ 1.1 log @lxqt-admin: add new package, version 0.14.1 This is the admin panel for the LXQt desktop. (Packaged in wip by pin@@, final review by myself.) @ text @d1 1 a1 1 $NetBSD$ @