diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 51055965..c497377a 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -19,6 +19,7 @@ if [[ -z $DONT_CHANGE_SHELL ]]; then fi CURL="curl -sSf" +jobs_count=`nproc` if [[ -z $DIR ]]; then echo "please set DIR" @@ -96,7 +97,7 @@ if [[ -z $NORUST ]]; then git pull git submodule update --init --recursive fi - cargo install -f rustfmt + cargo install -j $jobs_count -f rustfmt fi if [[ -z $NORUBY ]]; then diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index f1ae2e4f..812da4e3 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -4,7 +4,7 @@ set -e #software and shell sudo dnf -y upgrade --best --allowerasing -sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv nodejs npm terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk git xz util-linux-user powertop dnf-automatic kdiff3 yum-utils +sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv nodejs npm terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk git xz util-linux-user powertop dnf-automatic kdiff3 yum-utils util-linux-user FEDORA_VERSION=`rpm -E %fedora` sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm