Formatting
This commit is contained in:
parent
842bd97113
commit
4ce76c7baf
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,7 @@ post_install() {
|
||||||
systemctl enable preload
|
systemctl enable preload
|
||||||
systemctl enable prelockd
|
systemctl enable prelockd
|
||||||
systemctl --global enable psd
|
systemctl --global enable psd
|
||||||
|
|
||||||
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +25,9 @@ post_upgrade() {
|
||||||
systemctl enable preload
|
systemctl enable preload
|
||||||
systemctl enable prelockd
|
systemctl enable prelockd
|
||||||
systemctl --global enable psd
|
systemctl --global enable psd
|
||||||
|
|
||||||
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
||||||
|
|
||||||
echo "Performing misc postinstall operations..."
|
echo "Performing misc postinstall operations..."
|
||||||
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
||||||
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in a new issue