diff --git a/README.md b/README.md index 82762a0..8d865ab 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ Some useful scripts for gentoo. ## Global settings - `AUTO_SUDO` - runs scripts as sudo automatically (default: `0`) -- `DEFAULT_GETBINPKG` - adds `--getbinpkg` flag to `emerge` command (default: `0`) ## Install diff --git a/scripts/enewyear b/scripts/enewyear index d500476..249a0f0 100755 --- a/scripts/enewyear +++ b/scripts/enewyear @@ -7,7 +7,6 @@ # See LICENSE for copyright information AUTO_SUDO=0 -DEFAULT_GETBINPKG=0 if [[ "$EUID" -ne 0 ]]; then if [[ "$AUTO_SUDO" -eq 1 ]]; then @@ -22,8 +21,4 @@ fi flags=("--ask" "--verbose" "--quiet" "--emptytree" "--with-bdeps=y" "--keep-going=y" "--backtrack=30") -if [[ "$DEFAULT_GETBINPKG" -eq 1 ]]; then - flags+=("--getbinpkg") -fi - emerge "${flags[@]}" @world diff --git a/scripts/eupd b/scripts/eupd index 39b0430..00c90ed 100755 --- a/scripts/eupd +++ b/scripts/eupd @@ -7,7 +7,6 @@ # See LICENSE for copyright information AUTO_SUDO=0 -DEFAULT_GETBINPKG=0 COMMON_UPDATE_FLAGS=("--update" "--newuse" "--deep" "--with-bdeps=y" "--keep-going=y" "--autounmask" "--autounmask-write") DEFAULT_UPDATE_FLAGS=("--ask" "--verbose" "--quiet") @@ -18,10 +17,6 @@ DEFAULT_SYNC_FLAGS=("--quiet") COMMON_DEPCLEAN_FLAGS=("--depclean") DEFAULT_DEPCLEAN_FLAGS=("--ask" "--quiet") -if [[ "$DEFAULT_GETBINPKG" -eq 1 ]]; then - DEFAULT_UPDATE_FLAGS+=("--getbinpkg") -fi - if [[ "$EUID" -ne 0 ]]; then if [[ "$AUTO_SUDO" -eq 1 ]]; then sudo "$0" "$@"