Browse Source

update

master
crims0n 5 years ago
parent
commit
a653d7e586
  1. 27
      cleanup
  2. 4
      linux-live/buildconfig
  3. 2
      linux-live/config
  4. 165
      linux-live/minioslib
  5. 8
      linux-live/pkglists/other.list
  6. 19
      linux-live/pkglists/ubuntu-gui.list
  7. 12
      linux-live/pkglists/ubuntu-other.list
  8. 4
      linux-live/rootcopy-ubuntu/etc/casper.conf
  9. 1
      linux-live/rootcopy-ubuntu/etc/hostname
  10. 7
      linux-live/rootcopy-ubuntu/etc/hosts
  11. 63
      linux-live/rootcopy-ubuntu/etc/locale.nopurge
  12. 4
      linux-live/rootcopy-ubuntu/etc/netplan/01-network-manager-all.yaml
  13. 5
      linux-live/rootcopy-ubuntu/etc/skel/.config/Trolltech.conf
  14. 15
      linux-live/rootcopy-ubuntu/etc/skel/.config/user-dirs.dirs
  15. 1
      linux-live/rootcopy-ubuntu/etc/sudoers.d/casper
  16. 63
      linux-live/rootcopy/etc/locale.nopurge

27
cleanup

@ -0,0 +1,27 @@
# truncate machine id (why??)
truncate -s 0 /etc/machine-id
# remove diversion (why??)
rm /sbin/initctl
dpkg-divert --rename --remove /sbin/initctl
# remove ssh config
#rm -f /etc/ssh/ssh_host*
# clean up useless stuff
rm -rf /tmp/* ~/.bash_history
find /var/log/ -type f | xargs rm -f
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/apt/extended_states
rm -f /var/lib/apt/lists/*Packages
rm -f /var/lib/apt/lists/*Translation*
rm -f /var/lib/apt/lists/*InRelease
rm -f /var/lib/apt/lists/deb.*
rm -f /var/lib/dpkg/*-old

4
linux-live/buildconfig

@ -21,8 +21,8 @@ DEV_SYSTEM="0"
# если ="1", создаёт резервную копию в родительской папке
CREATE_BACKUP="0"
#DEBIAN_FRONTEND_TYPE="noninteractive"
DEBIAN_FRONTEND_TYPE="dialog"
DEBIAN_FRONTEND_TYPE="noninteractive"
#DEBIAN_FRONTEND_TYPE="dialog"
APT_CMD="apt-get"

2
linux-live/config

@ -30,7 +30,7 @@ DISTRIBUTION_ARCH="amd64"
DISTRIBUTION_VARIANT="minbase"
#
DISTRIBUTION_URL="http://archive.ubuntu.com/ubuntu"
DISTRIBUTION_URL="http://ru.archive.ubuntu.com/ubuntu"
#
COMP_TYPE="lz4"

165
linux-live/minioslib

@ -502,7 +502,7 @@ function build_bootstrap() {
setup_host
fi
fi
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
debootstrap --arch=$DISTRIBUTION_ARCH --variant=$DISTRIBUTION_VARIANT $DISTRIBUTION $BUILD_DIR $DISTRIBUTION_URL >>$OUTPUT 2>>$OUTPUT
}
@ -998,140 +998,65 @@ EOF
function prereq_pkg_list() {
echo -e "${YELLOW}=====> installing prerequested software for chroot system ...${ENDCOLOUR}"
if [ $DEBIAN_FRONTEND_TYPE = "noninteractive" ]; then
if [ -f $SCRIPT_DIR/pkglists/prereq.list ]; then
$APT_CMD update >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" &&
$APT_CMD upgrade $APT_OPTIONS >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/prereq.list | tr "\n" " ") >>$OUTPUT 2>&1
else
# we need to install systemd first, to configure machine id
$APT_CMD update >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" &&
$APT_CMD upgrade $APT_OPTIONS >dev/null &&
echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" &&
$APT_CMD install $APT_OPTIONS sudo libterm-readline-gnu-perl systemd-sysv >>$OUTPUT 2>&1
fi
elif [ $DEBIAN_FRONTEND_TYPE = "dialog" ]; then
if [ -f $SCRIPT_DIR/pkglists/prereq.list ]; then
$APT_CMD update >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" &&
$APT_CMD upgrade $APT_OPTIONS >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/prereq.list | tr "\n" " ")
else
# we need to install systemd first, to configure machine id
$APT_CMD update >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" &&
$APT_CMD upgrade $APT_OPTIONS >dev/null &&
echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" &&
$APT_CMD install $APT_OPTIONS sudo libterm-readline-gnu-perl systemd-sysv
fi
if [ -f $SCRIPT_DIR/pkglists/prereq.list ]; then
$APT_CMD update >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" &&
$APT_CMD upgrade $APT_OPTIONS >>$OUTPUT 2>&1 &&
echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/prereq.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
}
function main_pkg_list() {
echo -e "${YELLOW}=====> installing main packages for chroot system ...${ENDCOLOUR}"
if [ $DEBIAN_FRONTEND_TYPE = "noninteractive" ]; then
if [ -f $SCRIPT_DIR/pkglists/main.list ]; then
if [ -f $SCRIPT_DIR/pkglists/main.list ]; then
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
# $APT_CMD update >>$OUTPUT 2>&1 &&
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/main.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
if [ $LIVE_TYPE = "ubuntu" ]; then
if [ -f $SCRIPT_DIR/pkglists/ubuntu-main.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/main.list | tr "\n" " ") >>$OUTPUT 2>&1
else
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS ubuntu-minimal resolvconf xz-utils linux-image-generic >>$OUTPUT 2>&1
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-main.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
if [ $LIVE_TYPE = "ubuntu" ]; then
if [ -f $SCRIPT_DIR/pkglists/ubuntu-main.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-main.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
if [ -f $SCRIPT_DIR/pkglists/ubuntu-gui.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS tasksel >>$OUTPUT 2>&1 &&
tasksel install xubuntu-live >>$OUTPUT 2>&1 &&
tasksel install xubuntu-core >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-gui.list | tr "\n" " ") >>$OUTPUT 2>&1
#$APT_CMD install $APT_OPTIONS /linux-live/packages/chromium_88.0.4324.96~linuxmint1+ulyssa_amd64.deb >>$OUTPUT 2>&1
fi
if [ -f $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
fi
elif [ $DEBIAN_FRONTEND_TYPE = "dialog" ]; then
if [ -f $SCRIPT_DIR/pkglists/main.list ]; then
$APT_CMD update >>$OUTPUT 2>&1 &&
if [ -f $SCRIPT_DIR/pkglists/ubuntu-gui.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/main.list | tr "\n" " ")
else
$APT_CMD update >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS ubuntu-minimal resolvconf xz-utils linux-image-generic
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-gui.list | tr "\n" " ") >>$OUTPUT 2>&1
#$APT_CMD install $APT_OPTIONS /linux-live/packages/chromium_88.0.4324.96~linuxmint1+ulyssa_amd64.deb >>$OUTPUT 2>&1
fi
if [ $LIVE_TYPE = "ubuntu" ]; then
if [ -f $SCRIPT_DIR/pkglists/ubuntu-main.list ]; then
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-main.list | tr "\n" " ")
fi
if [ -f $SCRIPT_DIR/pkglists/ubuntu-gui.list ]; then
$APT_CMD install $APT_OPTIONS xubuntu-core^ ubiquity ubiquity-casper ubiquity-frontend-gtk ubiquity-slideshow-xubuntu ubiquity-ubuntu-artwork
#$APT_CMD install $APT_OPTIONS \
#$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-gui.list | tr "\n" " ")
#$APT_CMD install $APT_OPTIONS /linux-live/packages/chromium_88.0.4324.96~linuxmint1+ulyssa_amd64.deb
fi
: 'if [ -f $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list ]; then
echo ""
if [ -f $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list | tr "\n" " ")
fi'
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-ubiquity.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
fi
}
function other_pkg_list() {
echo -e "${YELLOW}=====> installing other packages for chroot system ...${ENDCOLOUR}"
if [ $DEBIAN_FRONTEND_TYPE = "noninteractive" ]; then
if [ $LIVE_TYPE = "ubuntu" ]; then
#$APT_CMD install $APT_OPTIONS tasksel >>$OUTPUT 2>&1
#tasksel install xubuntu-core
#$APT_CMD autoremove $APT_OPTIONS tasksel >>$OUTPUT 2>&1
if [ -f $SCRIPT_DIR/pkglists/ubuntu-other.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-other.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
fi
if [ -f $SCRIPT_DIR/pkglists/other.list ]; then
if [ $LIVE_TYPE = "ubuntu" ]; then
if [ -f $SCRIPT_DIR/pkglists/ubuntu-other.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/other.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
elif [ $DEBIAN_FRONTEND_TYPE = "dialog" ]; then
if [ $LIVE_TYPE = "ubuntu" ]; then
#$APT_CMD install $APT_OPTIONS tasksel >>$OUTPUT 2>&1
#tasksel install xubuntu-core
#$APT_CMD autoremove $APT_OPTIONS tasksel >>$OUTPUT 2>&1
if [ -f $SCRIPT_DIR/pkglists/ubuntu-other.list ]; then
$APT_CMD update >>$OUTPUT 2>&1 &&
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-other.list | tr "\n" " ")
fi
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/ubuntu-other.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
if [ -f $SCRIPT_DIR/pkglists/other.list ]; then
fi
if [ -f $SCRIPT_DIR/pkglists/other.list ]; then
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/other.list | tr "\n" " ")
fi
$(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/other.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
}
@ -1145,6 +1070,7 @@ function chroot_pkg_install() {
if [ $LIVE_TYPE = "linux-live" ]; then
(cd /linux-live/rootcopy && cp --parents -afr * /)
elif [ $LIVE_TYPE = "ubuntu" ]; then
#echo ""
(cd /linux-live/rootcopy-ubuntu && cp --parents -afr * /)
fi
@ -1191,7 +1117,9 @@ EOF
echo 'LANG="ru_RU.UTF-8"' >/etc/default/locale &&
dpkg-reconfigure -f noninteractive locales >>$OUTPUT 2>&1 &&
update-locale LANG=ru_RU.UTF-8 >>$OUTPUT 2>&1
#localepurge
echo "localepurge localepurge/nopurge multiselect en, en_US.UTF-8, ru, ru_RU, ru_RU.UTF-8" | debconf-set-selections
dpkg-reconfigure -f noninteractive localepurge >>$OUTPUT 2>&1
localepurge -v >>$OUTPUT 2>&1
# configure resolvconf
if grep resolvconf $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1 || grep resolvconf $SCRIPT_DIR/pkglists/other.list || [ $DISTRIBUTION != "xenial" ] >>$OUTPUT 2>&1; then
@ -1215,10 +1143,10 @@ EOF
#dpkg-reconfigure console-setup
# configure timezone and locale
dpkg-reconfigure tzdata
#dpkg-reconfigure tzdata
dpkg-reconfigure locales
#dpkg-reconfigure localepurge
localepurge
#localepurge -v
# configure resolvconf
if grep resolvconf $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1 || grep resolvconf $SCRIPT_DIR/pkglists/other.list || [ $DISTRIBUTION != "xenial" ] >>$OUTPUT 2>&1; then
@ -1378,7 +1306,7 @@ function chroot_finish_up() {
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/* >>$OUTPUT 2>&1
rm -f /var/cache/ldconfig/* >>$OUTPUT 2>&1
rm -f /var/cache/debconf/* >>$OUTPUT 2>&1
#rm -f /var/cache/debconf/* >>$OUTPUT 2>&1
rm -f /var/cache/fontconfig/* >>$OUTPUT 2>&1
rm -f /var/cache/apt/archives/*.deb >>$OUTPUT 2>&1
rm -f /var/cache/apt/*.bin >>$OUTPUT 2>&1
@ -1389,7 +1317,4 @@ function chroot_finish_up() {
rm -f /var/lib/apt/lists/*InRelease >>$OUTPUT 2>&1
rm -f /var/lib/apt/lists/deb.* >>$OUTPUT 2>&1
rm -f /var/lib/dpkg/*-old >>$OUTPUT 2>&1
}
if [ grep ]; then
echo
fi
}

8
linux-live/pkglists/other.list

@ -1,12 +1,6 @@
# Опциональные приложения, можно удалить любое.
bash-completion
openssh-server
# без этого ▼ пакета нельзя будет пересобрать запущенную систему
squashfs-tools
# без этого ▼ пакета нельзя будет пересобрать запущенную систему
xorriso
mc
htop
ncdu
open-vm-tools
#open-vm-tools
#tasksel

19
linux-live/pkglists/ubuntu-gui.list

@ -1,13 +1,6 @@
# xubuntu-core ставим через tasksel, иначе он тянет за собой части gnome-desktop и gdm3
#xubuntu-core
mousepad
blueman
ristretto
onboard
gigolo
gparted
xfce4-taskmanager
xfce4-xkb-plugin
firefox
firefox-locale-ru
language-pack-gnome-ru
xubuntu-core^
ubiquity
ubiquity-casper
ubiquity-frontend-gtk
ubiquity-slideshow-xubuntu
ubiquity-ubuntu-artwork

12
linux-live/pkglists/ubuntu-other.list

@ -1,2 +1,12 @@
open-vm-tools-desktop
#samba-common
mousepad
blueman
ristretto
onboard
gigolo
gparted
xfce4-taskmanager
xfce4-xkb-plugin
firefox
firefox-locale-ru
language-pack-gnome-ru

4
linux-live/rootcopy-ubuntu/etc/casper.conf

@ -2,9 +2,9 @@
# Supported variables are:
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM, FLAVOUR
export USERNAME="ubuntu"
export USERNAME="live"
export USERFULLNAME="Live session user"
export HOST="ubuntu"
export HOST="minios"
export BUILD_SYSTEM="Ubuntu"
# USERNAME and HOSTNAME as specified above won't be honoured and will be set to

1
linux-live/rootcopy-ubuntu/etc/hostname

@ -1 +0,0 @@
minios

7
linux-live/rootcopy-ubuntu/etc/hosts

@ -1,7 +0,0 @@
127.0.0.1 localhost
127.0.1.1 minios
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

63
linux-live/rootcopy-ubuntu/etc/locale.nopurge

@ -1,63 +0,0 @@
####################################################
# This is the configuration file for localepurge(8).
####################################################
####################################################
# Uncommenting this string enables the use of dpkg's
# --path-exclude feature. In this mode, localepurge
# will configure dpkg to exclude the desired locales
# at unpack time.
#
# If enabled, the following 3 options will be
# disabled:
#
# QUICKNDIRTYCALC
# SHOWFREEDSPACE
# VERBOSE
#
# And the following option will be enabled and cannot
# be disabled (unless USE_DPKG is disabled):
#
# DONTBOTHERNEWLOCALE
#
USE_DPKG
####################################################
####################################################
# Uncommenting this string enables removal of localized
# man pages based on the configuration information for
# locale files defined below:
MANDELETE
####################################################
# Uncommenting this string causes localepurge to simply delete
# locales which have newly appeared on the system without
# bothering you about it:
#DONTBOTHERNEWLOCALE
####################################################
# Uncommenting this string enables display of freed disk
# space if localepurge has purged any superfluous data:
SHOWFREEDSPACE
#####################################################
# Commenting out this string enables faster but less
# accurate calculation of freed disk space:
QUICKNDIRTYCALC
#####################################################
# Commenting out this string disables verbose output:
#VERBOSE
#####################################################
# Following locales won't be deleted from this system
# after package installations done with apt-get(8):
en_US.UTF-8
ru_RU.UTF-8

4
linux-live/rootcopy-ubuntu/etc/netplan/01-network-manager-all.yaml

@ -1,4 +0,0 @@
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager

5
linux-live/rootcopy-ubuntu/etc/skel/.config/Trolltech.conf

@ -1,5 +0,0 @@
[Qt]
font="Noto Sans,9,-1,5,50,0,0,0,0,0"
style=GTK+
doubleClickInterval=400
cursorFlashTime=1200

15
linux-live/rootcopy-ubuntu/etc/skel/.config/user-dirs.dirs

@ -1,15 +0,0 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

1
linux-live/rootcopy-ubuntu/etc/sudoers.d/casper

@ -1 +0,0 @@
xubuntu ALL=(ALL) NOPASSWD: ALL

63
linux-live/rootcopy/etc/locale.nopurge

@ -1,63 +0,0 @@
####################################################
# This is the configuration file for localepurge(8).
####################################################
####################################################
# Uncommenting this string enables the use of dpkg's
# --path-exclude feature. In this mode, localepurge
# will configure dpkg to exclude the desired locales
# at unpack time.
#
# If enabled, the following 3 options will be
# disabled:
#
# QUICKNDIRTYCALC
# SHOWFREEDSPACE
# VERBOSE
#
# And the following option will be enabled and cannot
# be disabled (unless USE_DPKG is disabled):
#
# DONTBOTHERNEWLOCALE
#
USE_DPKG
####################################################
####################################################
# Uncommenting this string enables removal of localized
# man pages based on the configuration information for
# locale files defined below:
MANDELETE
####################################################
# Uncommenting this string causes localepurge to simply delete
# locales which have newly appeared on the system without
# bothering you about it:
#DONTBOTHERNEWLOCALE
####################################################
# Uncommenting this string enables display of freed disk
# space if localepurge has purged any superfluous data:
SHOWFREEDSPACE
#####################################################
# Commenting out this string enables faster but less
# accurate calculation of freed disk space:
QUICKNDIRTYCALC
#####################################################
# Commenting out this string disables verbose output:
#VERBOSE
#####################################################
# Following locales won't be deleted from this system
# after package installations done with apt-get(8):
en_US.UTF-8
ru_RU.UTF-8
Loading…
Cancel
Save