mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-18 16:07:59 +00:00
fixed problem with mist install not working
This commit is contained in:
parent
bfd2a196ef
commit
91309cf2f8
1 changed files with 8 additions and 2 deletions
|
@ -35,11 +35,17 @@ function install_source_han_mono_fonts() {
|
||||||
fc-cache
|
fc-cache
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_makedeb_packages() {
|
||||||
|
local uid
|
||||||
|
uid=${SUDO_UID:-$(id -u)}
|
||||||
|
sudo --user="#$uid" mist update
|
||||||
|
sudo --user="#$uid" mist install logseq-bin
|
||||||
|
}
|
||||||
|
|
||||||
(($(id -u) == 0)) \
|
(($(id -u) == 0)) \
|
||||||
&& [[ -f /etc/debian_version ]] \
|
&& [[ -f /etc/debian_version ]] \
|
||||||
&& install_apt_packages
|
&& install_apt_packages
|
||||||
install_gsettings settings.ini /
|
install_gsettings settings.ini /
|
||||||
install_gsettings terminal-settings.ini "/org/gnome/terminal/legacy/profiles:/:$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')/"
|
install_gsettings terminal-settings.ini "/org/gnome/terminal/legacy/profiles:/:$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')/"
|
||||||
install_source_han_mono_fonts
|
install_source_han_mono_fonts
|
||||||
mist update \
|
install_makedeb_packages
|
||||||
&& mist install logseq-bin
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue