# HG changeset patch # User Pascal Bellard # Date 1526815698 -7200 # Node ID 970c5ec9a60aaf8dd5b55842a09c3442c4a9a33f # Parent 2bf373a3a59fc0eee9f6103bcc9184b7933a55b7 Up tazlito (501) diff -r 2bf373a3a59f -r 970c5ec9a60a autoblog/receipt --- a/autoblog/receipt Fri May 18 22:33:04 2018 +0200 +++ b/autoblog/receipt Sun May 20 13:28:18 2018 +0200 @@ -42,5 +42,5 @@ mytz="$(cat "$1/etc/TZ")" [ -n "$mytz" ] && sed -i "s|Europe/Paris|$mytz|" "$1/var/www/$PACKAGE/index.php" chown -R www "$1/var/www/$PACKAGE" - [ -z "$quiet" ] && echo "You should update /var/www/$PACKAGE/vvb.ini now..." + [ -z "$quiet" ] && echo -e "\nYou should update /var/www/$PACKAGE/vvb.ini now..." } diff -r 2bf373a3a59f -r 970c5ec9a60a bash/receipt --- a/bash/receipt Fri May 18 22:33:04 2018 +0200 +++ b/bash/receipt Sun May 20 13:28:18 2018 +0200 @@ -97,6 +97,7 @@ # Exit function in non-interactive mode (when user can't answer question) ! tty -s && return + echo echo -n 'Do you want to set Bash to default (y/N) ? : ' read -t 30 answer [ "$answer" != 'y' ] && return diff -r 2bf373a3a59f -r 970c5ec9a60a btmgr/receipt --- a/btmgr/receipt Fri May 18 22:33:04 2018 +0200 +++ b/btmgr/receipt Sun May 20 13:28:18 2018 +0200 @@ -35,6 +35,7 @@ # Pre and post install commands for Tazpkg. post_install() { + echo echo "----" echo "You can create boot floppy with:" echo "# cp /usr/share/boot/btmgr /dev/fd0" diff -r 2bf373a3a59f -r 970c5ec9a60a busybox/receipt --- a/busybox/receipt Fri May 18 22:33:04 2018 +0200 +++ b/busybox/receipt Sun May 20 13:28:18 2018 +0200 @@ -221,6 +221,7 @@ *) continue ;; esac if [ -z "$answer" ]; then + echo echo -n "Keep installed GNU utilities ? " read -t 30 answer # by default: keep case "$answer" in diff -r 2bf373a3a59f -r 970c5ec9a60a ccid/receipt --- a/ccid/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ccid/receipt Sun May 20 13:28:18 2018 +0200 @@ -44,6 +44,7 @@ { # addgroup pcscd if needed if ! grep -q pcscd "$1/etc/group"; then + echo echo -n "Adding group pcscd..." chroot "$1/" addgroup pcscd status diff -r 2bf373a3a59f -r 970c5ec9a60a compiz/receipt --- a/compiz/receipt Fri May 18 22:33:04 2018 +0200 +++ b/compiz/receipt Sun May 20 13:28:18 2018 +0200 @@ -30,6 +30,7 @@ res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf status diff -r 2bf373a3a59f -r 970c5ec9a60a cyrus-imapd/receipt --- a/cyrus-imapd/receipt Fri May 18 22:33:04 2018 +0200 +++ b/cyrus-imapd/receipt Sun May 20 13:28:18 2018 +0200 @@ -52,6 +52,7 @@ { # adduser cyrus if needed if ! grep -q cyrus "$1/etc/passwd"; then + echo echo -n "Adding user cyrus..." chroot "$1/" adduser cyrus -D -H -S -h /tmp chroot "$1/" sh -c 'echo "cyrus:cyrus" | chpasswd -m > /dev/null' @@ -59,6 +60,7 @@ fi # addgroup mail if needed if ! grep -q mail "$1/etc/group"; then + echo echo -n "Adding group mail..." chroot "$1/" sh -c 'addgroup mail && addgroup cyrus mail' status @@ -84,6 +86,7 @@ [ "$1" ] || /etc/init.d/$PACKAGE start if [ -f "$1/etc/init.d/postfix" ]; then if ! grep -v ^# "$1/etc/postfix/main.cf" | grep -q lmtp:unix; then + echo echo "Append to /etc/postfix/main.cf:" echo -n " " echo "mailbox_transport = lmtp:unix:/var/imap/socket/lmtp" | \ @@ -93,9 +96,9 @@ fi fi fi - msg="Creating mailbox for" + msg="\\nCreating mailbox for" for i in root $(awk -F: '{ if ($3 >= 1000) print $1 }' < "$1/etc/passwd"); do - echo -n "$msg $i" + echo -en "$msg $i" msg="," done echo "" diff -r 2bf373a3a59f -r 970c5ec9a60a distcc/receipt --- a/distcc/receipt Fri May 18 22:33:04 2018 +0200 +++ b/distcc/receipt Sun May 20 13:28:18 2018 +0200 @@ -47,6 +47,7 @@ post_install() { if ! grep -q nagios "$1/etc/passwd"; then + echo echo -n "Adding user/group nagios..." chroot "$1/" addgroup -S distcc chroot "$1/" adduser -S -D -H -G distcc distcc diff -r 2bf373a3a59f -r 970c5ec9a60a dovecot/receipt --- a/dovecot/receipt Fri May 18 22:33:04 2018 +0200 +++ b/dovecot/receipt Sun May 20 13:28:18 2018 +0200 @@ -87,6 +87,7 @@ group=dovecot if ! grep -q $user "$1/etc/passwd"; then + echo echo -n "Adding user/group $user..." chroot "$1/" addgroup -g 76 -S $group chroot "$1/" adduser -u 76 -S -D -H -G $group $user diff -r 2bf373a3a59f -r 970c5ec9a60a dwm/receipt --- a/dwm/receipt Fri May 18 22:33:04 2018 +0200 +++ b/dwm/receipt Sun May 20 13:28:18 2018 +0200 @@ -45,6 +45,7 @@ res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},dwm/" /etc/slim.conf status diff -r 2bf373a3a59f -r 970c5ec9a60a eggwm/receipt --- a/eggwm/receipt Fri May 18 22:33:04 2018 +0200 +++ b/eggwm/receipt Sun May 20 13:28:18 2018 +0200 @@ -37,6 +37,7 @@ res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf status diff -r 2bf373a3a59f -r 970c5ec9a60a enlightenment-pam/receipt --- a/enlightenment-pam/receipt Fri May 18 22:33:04 2018 +0200 +++ b/enlightenment-pam/receipt Sun May 20 13:28:18 2018 +0200 @@ -68,6 +68,7 @@ | sed s/,e17//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q enlightenment; then + echo echo -n "Adding enlightenment to /etc/slim.conf..." sed -i "s/^sessions.*/sessions enlightenment,${res}/" \ /etc/slim.conf diff -r 2bf373a3a59f -r 970c5ec9a60a enlightenment/receipt --- a/enlightenment/receipt Fri May 18 22:33:04 2018 +0200 +++ b/enlightenment/receipt Sun May 20 13:28:18 2018 +0200 @@ -68,6 +68,7 @@ | sed s/,e17//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q enlightenment; then + echo echo -n "Adding enlightenment to /etc/slim.conf..." sed -i "s/^sessions.*/sessions enlightenment,${res}xs/" \ /etc/slim.conf diff -r 2bf373a3a59f -r 970c5ec9a60a etherboot/receipt --- a/etherboot/receipt Fri May 18 22:33:04 2018 +0200 +++ b/etherboot/receipt Sun May 20 13:28:18 2018 +0200 @@ -45,6 +45,7 @@ LABEL web zeb\ MENU LABEL Web Boot\ KERNEL /boot/etherboot|' $1/boot/isolinux/isolinux.cfg + echo echo "----" echo "You can create pxe/nbi boot floppy with:" echo "# cp /usr/share/boot/etherboot /dev/fd0" diff -r 2bf373a3a59f -r 970c5ec9a60a lxde/receipt --- a/lxde/receipt Fri May 18 22:33:04 2018 +0200 +++ b/lxde/receipt Sun May 20 13:28:18 2018 +0200 @@ -31,6 +31,7 @@ { res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" status diff -r 2bf373a3a59f -r 970c5ec9a60a lxqt-common/receipt --- a/lxqt-common/receipt Fri May 18 22:33:04 2018 +0200 +++ b/lxqt-common/receipt Sun May 20 13:28:18 2018 +0200 @@ -42,6 +42,7 @@ res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding lxqt to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},lxqt/" "$1/etc/slim.conf" status diff -r 2bf373a3a59f -r 970c5ec9a60a mariadb/receipt --- a/mariadb/receipt Fri May 18 22:33:04 2018 +0200 +++ b/mariadb/receipt Sun May 20 13:28:18 2018 +0200 @@ -84,6 +84,7 @@ group=mysql if ! grep -q $user "$1/etc/passwd"; then + echo echo -n "Adding user/group $user..." chroot "$1/" addgroup -S $group chroot "$1/" adduser -s /bin/false -S -D -H -G $group $user diff -r 2bf373a3a59f -r 970c5ec9a60a mate/receipt --- a/mate/receipt Fri May 18 22:33:04 2018 +0200 +++ b/mate/receipt Sun May 20 13:28:18 2018 +0200 @@ -38,6 +38,7 @@ root=$1 res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf status diff -r 2bf373a3a59f -r 970c5ec9a60a mgetty/receipt --- a/mgetty/receipt Fri May 18 22:33:04 2018 +0200 +++ b/mgetty/receipt Sun May 20 13:28:18 2018 +0200 @@ -55,6 +55,7 @@ { # adduser fax if needed if ! grep -q fax "$1/etc/passwd"; then + echo echo -n "Adding user fax..." chroot "$1/" adduser fax -D -H -S status diff -r 2bf373a3a59f -r 970c5ec9a60a mysql/receipt --- a/mysql/receipt Fri May 18 22:33:04 2018 +0200 +++ b/mysql/receipt Sun May 20 13:28:18 2018 +0200 @@ -102,6 +102,7 @@ group=mysql if ! grep -q $user "$1/etc/passwd"; then + echo echo -n "Adding user/group $user..." chroot "$1/" addgroup -S $group chroot "$1/" adduser -s /bin/false -S -D -H -G $group $user @@ -109,6 +110,7 @@ fi # adduser mysql if needed if ! grep -q ${user} "$1/etc/passwd"; then + echo echo -n "Adding user MySQL..." chroot "$1/" /bin/adduser -s /bin/false -h /dev/null \ -g "MySQL Daemon user" -u 27 -H -D -S -G ${group} ${user} diff -r 2bf373a3a59f -r 970c5ec9a60a nagios-nrpe/receipt --- a/nagios-nrpe/receipt Fri May 18 22:33:04 2018 +0200 +++ b/nagios-nrpe/receipt Sun May 20 13:28:18 2018 +0200 @@ -60,6 +60,7 @@ post_install() { if ! grep -q nagios "$1/etc/passwd"; then + echo echo -n "Adding user nagios..." chroot "$1/" adduser -S -D -H nagios status diff -r 2bf373a3a59f -r 970c5ec9a60a nagios-plugins/receipt --- a/nagios-plugins/receipt Fri May 18 22:33:04 2018 +0200 +++ b/nagios-plugins/receipt Sun May 20 13:28:18 2018 +0200 @@ -49,6 +49,7 @@ post_install() { if ! grep -q nagios "$1/etc/passwd"; then + echo echo -n "Adding user/group nagios..." chroot "$1/" addgroup -S nagios chroot "$1/" adduser -S -D -H -G nagios nagios diff -r 2bf373a3a59f -r 970c5ec9a60a ncmpcpp/receipt --- a/ncmpcpp/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ncmpcpp/receipt Sun May 20 13:28:18 2018 +0200 @@ -42,6 +42,7 @@ { for i in $(ls "$1/home" 2> /dev/null); do [ -d "$1/home/$i/.ncmpcpp" ] && continue + echo echo -n "Enabling configuration files for $i ..." cp -a "$1/etc/skel/.ncmpcpp" "$1/home/$i/" sed -i 's|#mpd_music_dir = ""|mpd_music_dir = "/home/'$i'/music"|' "/home/$i/.ncmpcpp/config" diff -r 2bf373a3a59f -r 970c5ec9a60a nconf/receipt --- a/nconf/receipt Fri May 18 22:33:04 2018 +0200 +++ b/nconf/receipt Sun May 20 13:28:18 2018 +0200 @@ -70,11 +70,13 @@ # Minimal config for NConf. if [ -z "$1" ]; then if ( ! mysqladmin -s ping > /dev/null ); then + echo echo "Starting MySQL server" ( /etc/init.d/mysql start ; status ) || exit sleep 4 #let the mysql daemon start fi if ( ! mysql -u root -Be 'show databases' | grep -q $db ); then + echo echo -n "Create $db database" mysql -Be "create database $db" ; status # We suppose that $DB_USER user does not exist. diff -r 2bf373a3a59f -r 970c5ec9a60a ndoutils/receipt --- a/ndoutils/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ndoutils/receipt Sun May 20 13:28:18 2018 +0200 @@ -73,6 +73,7 @@ post_install() { if ! grep -q nagios "$1/etc/passwd"; then + echo echo -n "Adding user nagios..." chroot "$1/" adduser -S -D -H nagios status diff -r 2bf373a3a59f -r 970c5ec9a60a obmenu/receipt --- a/obmenu/receipt Fri May 18 22:33:04 2018 +0200 +++ b/obmenu/receipt Sun May 20 13:28:18 2018 +0200 @@ -31,6 +31,7 @@ post_install() { + echo echo -n "Enabling configuration file..." cp "$1/home/tux/.config/openbox/menu.xml" "$1/root/.config/openbox" status diff -r 2bf373a3a59f -r 970c5ec9a60a ocsinventory-server/receipt --- a/ocsinventory-server/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ocsinventory-server/receipt Sun May 20 13:28:18 2018 +0200 @@ -58,6 +58,7 @@ post_install() { if [ -z "$1" ]; then + echo echo "Now you can connect to http://$(hostname)/ocsreports" # Restart Apache if is running [ -f /var/run/apache/httpd.pid ] && /etc/init.d/apache reload diff -r 2bf373a3a59f -r 970c5ec9a60a ocsreports/receipt --- a/ocsreports/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ocsreports/receipt Sun May 20 13:28:18 2018 +0200 @@ -68,11 +68,13 @@ # Configure every thing for ocsweb. if [ -z "$1" ]; then if ( ! mysqladmin -s ping > /dev/null ); then + echo echo "Starting MySQL server" ( /etc/init.d/mysql start ; status ) || exit sleep 4 #let the mysql daemon start fi if ( ! mysql -Be 'show databases' | grep -q ocsweb ); then + echo echo -n "Create $PACKAGE database and schema" mysql -Be "create database ocsweb CHARACTER SET utf8 COLLATE utf8_bin" ; status mysql -s -u root ocsweb < /usr/share/$PACKAGE/files/ocsbase_new.sql > /dev/null 2>&1 diff -r 2bf373a3a59f -r 970c5ec9a60a openldap/receipt --- a/openldap/receipt Fri May 18 22:33:04 2018 +0200 +++ b/openldap/receipt Sun May 20 13:28:18 2018 +0200 @@ -52,11 +52,13 @@ # Pre and post install commands for Tazpkg. post_install() { + nl="\\n" ( cd "$1/$INSTALLED/" ; grep -l /etc/openldap/slapd.conf */receipt ) | \ while read file; do pkg=$(dirname $file) [ "$pkg" = "$PACKAGE" ] && continue - echo "Reconfiguring $pkg for $PACKAGE..." + echo -e "${nl}Reconfiguring $pkg for $PACKAGE..." + nl="" chroot "$1/" tazpkg reconfigure $pkg done } diff -r 2bf373a3a59f -r 970c5ec9a60a pcmanfm-legacy/receipt --- a/pcmanfm-legacy/receipt Fri May 18 22:33:04 2018 +0200 +++ b/pcmanfm-legacy/receipt Sun May 20 13:28:18 2018 +0200 @@ -63,6 +63,7 @@ post_install() { # update mime-cache + echo echo "Updating mime-types database" chroot "$1/" /usr/bin/update-mime-database /usr/share/mime } diff -r 2bf373a3a59f -r 970c5ec9a60a pekwm/receipt --- a/pekwm/receipt Fri May 18 22:33:04 2018 +0200 +++ b/pekwm/receipt Sun May 20 13:28:18 2018 +0200 @@ -55,6 +55,7 @@ res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" status diff -r 2bf373a3a59f -r 970c5ec9a60a php-common/receipt --- a/php-common/receipt Fri May 18 22:33:04 2018 +0200 +++ b/php-common/receipt Sun May 20 13:28:18 2018 +0200 @@ -27,6 +27,7 @@ { # Backup existing php.ini if [ -f "$1/etc/php.ini" ]; then + echo echo -n "Creating php.ini backup..." cp "$1/etc/php.ini" "$1/etc/php.ini.bak" status @@ -36,6 +37,7 @@ { # Restore original php.ini if [ -f "$1/etc/php.ini.bak" ]; then + echo echo -n "Restoring php.ini backup..." mv -f "$1/etc/php.ini.bak" "$1/etc/php.ini" status diff -r 2bf373a3a59f -r 970c5ec9a60a polipo/receipt --- a/polipo/receipt Fri May 18 22:33:04 2018 +0200 +++ b/polipo/receipt Sun May 20 13:28:18 2018 +0200 @@ -33,7 +33,8 @@ # Create a disk cache. post_install() -{ +{ + echo echo -n "Creating disk cache..." mkdir "$1/var/cache/polipo" chown tux.tux "$1/var/cache/polipo" diff -r 2bf373a3a59f -r 970c5ec9a60a postfix/receipt --- a/postfix/receipt Fri May 18 22:33:04 2018 +0200 +++ b/postfix/receipt Sun May 20 13:28:18 2018 +0200 @@ -84,6 +84,7 @@ group=postdrop if ! grep -q $user "$1/etc/passwd"; then + echo echo -n "Adding user/group $user..." chroot "$1/" addgroup -S $user chroot "$1/" adduser -S -D -H -G $user $user @@ -93,6 +94,7 @@ # addgroup postdrop if needed if ! grep -q postdrop "$1/etc/group"; then + echo echo -n "Adding group ${group}..." chroot "$1/" addgroup -S $group status diff -r 2bf373a3a59f -r 970c5ec9a60a postgresql/receipt --- a/postgresql/receipt Fri May 18 22:33:04 2018 +0200 +++ b/postgresql/receipt Sun May 20 13:28:18 2018 +0200 @@ -56,6 +56,7 @@ { # adduser postgres if needed if ! grep -q postgres: "$1/etc/passwd"; then + echo echo -n "Adding user postgres..." chroot "$1/" adduser postgres -D -H -u 88 -h /var/lib/pgsql #[ -d "$1/var/lib/pgsql" ] && rm -f "$1/var/lib/pgsql"/.* "$1/var/lib/pgsql"/* @@ -63,6 +64,7 @@ fi # addgroup postgres if needed if ! grep -q postgres: "$1/etc/group"; then + echo echo -n "Adding group postgres..." chroot "$1/" sh -c 'addgroup -g 88 postgres' status diff -r 2bf373a3a59f -r 970c5ec9a60a ppp/receipt --- a/ppp/receipt Fri May 18 22:33:04 2018 +0200 +++ b/ppp/receipt Sun May 20 13:28:18 2018 +0200 @@ -104,5 +104,6 @@ rm -f $1/var/cache/tazpanel/header.* 2>/dev/null || true chroot "$1/" chgrp dialout /usr/sbin/pppd chmod 4750 $1/usr/sbin/pppd + echo echo " ADD yourself to group dialout to use pppd: addgroup tux dialout" } diff -r 2bf373a3a59f -r 970c5ec9a60a privoxy/receipt --- a/privoxy/receipt Fri May 18 22:33:04 2018 +0200 +++ b/privoxy/receipt Sun May 20 13:28:18 2018 +0200 @@ -54,18 +54,21 @@ { # adduser privoxy if needed if ! grep -q privoxy "$1/etc/passwd"; then + echo echo -n "Adding user privoxy..." chroot "$1/" adduser -s /bin/false -H -D -u 42 privoxy status fi if ! grep -q privoxy "$1/etc/group"; then + echo echo -n "Adding group privoxy..." chroot "$1/" addgroup -g 42 privoxy status fi # and change file permissions + echo echo -n "Changing file permissions..." chroot "$1/" chown -R privoxy.privoxy /etc/privoxy chown -R root.root "$1/etc/privoxy/templates" diff -r 2bf373a3a59f -r 970c5ec9a60a razorqt/receipt --- a/razorqt/receipt Fri May 18 22:33:04 2018 +0200 +++ b/razorqt/receipt Sun May 20 13:28:18 2018 +0200 @@ -99,6 +99,7 @@ res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. if ! echo "$res" | grep -q $PACKAGE; then + echo echo -n "Adding $PACKAGE to /etc/slim.conf..." sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" status diff -r 2bf373a3a59f -r 970c5ec9a60a rclone/receipt --- a/rclone/receipt Fri May 18 22:33:04 2018 +0200 +++ b/rclone/receipt Sun May 20 13:28:18 2018 +0200 @@ -15,7 +15,7 @@ # Rules to configure and make the package. compile_rules() { - echo "Precompiled binry..." + echo "Precompiled binary..." mkdir -p $install/usr/bin cp $src/rclone $install/usr/bin } diff -r 2bf373a3a59f -r 970c5ec9a60a remind/receipt --- a/remind/receipt Fri May 18 22:33:04 2018 +0200 +++ b/remind/receipt Sun May 20 13:28:18 2018 +0200 @@ -36,9 +36,10 @@ post_install() { # Check for ~/.reminders file - needed for wyrd + nl="\\n" for i in $(ls "$1/home" 2> /dev/null); do [ -f "$1/home/$i/.reminders" ] && continue - echo -n "Creating config file for $i ..." + echo -en "${nl}Creating config file for $i ..." touch "$1/home/$i/.reminders" chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders" status diff -r 2bf373a3a59f -r 970c5ec9a60a sane-backends/receipt --- a/sane-backends/receipt Fri May 18 22:33:04 2018 +0200 +++ b/sane-backends/receipt Sun May 20 13:28:18 2018 +0200 @@ -76,6 +76,7 @@ chroot "$1/" chgrp scanner /usr/bin/scanimage chmod 4750 $1/usr/bin/scanimage + echo echo " ADD yourself to group scanner to use sane: addgroup tux scanner" rm -f "$1"/var/cache/tazpanel/* 2> /dev/null diff -r 2bf373a3a59f -r 970c5ec9a60a tazlito/receipt --- a/tazlito/receipt Fri May 18 22:33:04 2018 +0200 +++ b/tazlito/receipt Sun May 20 13:28:18 2018 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazlito" -VERSION="500" +VERSION="501" CATEGORY="base-system" SHORT_DESC="SliTaz Live Tool." MAINTAINER="pascal.bellard@slitaz.org" diff -r 2bf373a3a59f -r 970c5ec9a60a tuxtype/receipt --- a/tuxtype/receipt Fri May 18 22:33:04 2018 +0200 +++ b/tuxtype/receipt Sun May 20 13:28:18 2018 +0200 @@ -51,6 +51,7 @@ post_install() { + echo echo "Adding games group if not already created:" chroot "$1/" addgroup games } diff -r 2bf373a3a59f -r 970c5ec9a60a urbackup-server/receipt --- a/urbackup-server/receipt Fri May 18 22:33:04 2018 +0200 +++ b/urbackup-server/receipt Sun May 20 13:28:18 2018 +0200 @@ -44,6 +44,7 @@ group=urbackup if ! grep -q $user "$1/etc/passwd"; then + echo echo -n "Adding user/group $user..." chroot "$1/" addgroup -S $group chroot "$1/" adduser -s /bin/false -S -D -h /var/urbackup -G $group $user diff -r 2bf373a3a59f -r 970c5ec9a60a usbmuxd/receipt --- a/usbmuxd/receipt Fri May 18 22:33:04 2018 +0200 +++ b/usbmuxd/receipt Sun May 20 13:28:18 2018 +0200 @@ -39,12 +39,14 @@ { # adduser usbmuxd if needed if ! grep -q usbmuxd "$1/etc/passwd"; then + echo echo -n "Adding user privoxy..." chroot "$1/" adduser -s /bin/false -H -D -u 140 usbmuxd status fi if ! grep -q usbmuxd "$1/etc/group"; then + echo echo -n "Adding group privoxy..." chroot "$1/" addgroup -g 140 usbmuxd status diff -r 2bf373a3a59f -r 970c5ec9a60a wordpress/receipt --- a/wordpress/receipt Fri May 18 22:33:04 2018 +0200 +++ b/wordpress/receipt Sun May 20 13:28:18 2018 +0200 @@ -30,11 +30,13 @@ # Minimal config for wordpress. if [ -z "$1" ]; then if ( ! mysqladmin -s ping > /dev/null ); then + echo echo "Starting MySQL server" ( /etc/init.d/mysql start ; status ) || exit sleep 4 #let the mysql daemon start fi if ( ! mysql -u root -Be 'show databases' | grep -q $db ); then + echo echo -n "Create $db database" mysql -Be "create database $db" ; status # We suppose that $DB_USER user does not exist. diff -r 2bf373a3a59f -r 970c5ec9a60a xfce4-ristretto/receipt --- a/xfce4-ristretto/receipt Fri May 18 22:33:04 2018 +0200 +++ b/xfce4-ristretto/receipt Sun May 20 13:28:18 2018 +0200 @@ -37,6 +37,7 @@ post_install() { + echo echo "Execute post-install command" gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor" } diff -r 2bf373a3a59f -r 970c5ec9a60a yasr/receipt --- a/yasr/receipt Fri May 18 22:33:04 2018 +0200 +++ b/yasr/receipt Sun May 20 13:28:18 2018 +0200 @@ -34,6 +34,7 @@ post_install() { # Enable speech-synthesizer in config file + echo echo -n "Enabling config file..." cd "$1/usr/share/yasr" sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \