Sat Nov 16, 2013 9:28 pm
Sun Nov 17, 2013 9:08 pm
dpkg-reconfigure locales
dpkg-reconfigure keyboard-configuration
dpkg-reconfigure tzdata
Sun Nov 17, 2013 10:30 pm
sudo dpkg-reconfigure tzdata
Mon Nov 18, 2013 2:44 pm
xterm -title 'Please set timezone for the new installation..' -e "chroot /target dpkg-reconfigure tzdata"
xterm -title "Please set locales for the new installation.." -e "chroot /target dpkg-reconfigure locales"
Mon Nov 18, 2013 2:54 pm
Mon Nov 18, 2013 3:18 pm
!#/bin/bash
## Commands added here will execute automatically after installation
## Typical examples:
# xterm -title 'Please set default timezone..' -e 'chroot /target dpkg-reconfigure tzdata'
# xterm -title "Please set locales for the new installation.." -e "chroot /target dpkg-reconfigure locales"
# rm -f /target/home/*/Desktop/whatever
## Add custom post-install commands below (at user's risk only):
Mon Nov 18, 2013 6:06 pm
As root:
dpkg-reconfigure -fgnome locales
dpkg-reconfigure -fgnome tzdata
As user:
/usr/bin/gksu -u root '/usr/sbin/dpkg-reconfigure -fgnome locales'
/usr/bin/gksu -u root '/usr/sbin/dpkg-reconfigure -fgnome tzdata'
Mon Nov 18, 2013 8:41 pm
dpkg-reconfigure --frontend=gnome tzdata
dpkg-reconfigure --frontend=kde tzdata
Tue Nov 19, 2013 11:01 am
- /home/*/Desktop/refractainstaller.desktop
/usr/bin/refractainstaller-yad
/usr/bin/refractainstaller
Tue Nov 19, 2013 3:31 pm
# Run any post-install scripts
if [[ $run_postinstall = "yes" ]] ; then
for file in /usr/lib/refractainstaller/post-install/* ; do
if [[ -x "$file" ]] ; then
bash "$file"
fi
done
fi
run_postinstall = "yes"
#!/usr/bin/env bash
# loc-timezn.sh
if [[ $DISPLAY ]] ; then
chroot /target dpkg-reconfigure -fgnome tzdata || chroot /target dpkg-reconfigure tzdata
chroot /target dpkg-reconfigure -fgnome locales || chroot /target dpkg-reconfigure locales
# chroot /target dpkg-reconfigure -fgnome tzdata || chroot /target dpkg-reconfigure keyboard-configuration
else
echo -e "\n\tSet time zone and locales.\n"
sleep 2
chroot /target dpkg-reconfigure tzdata
chroot /target dpkg-reconfigure locales
# chroot /target dpkg-reconfigure keyboard-configuration
fi
exit 0