diff --git a/README.md b/README.md index 0e7b11d..6f84f5c 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,6 @@ The supported options are: - NoColor # Do not colorize output. - NoVersion # Do not show versions changes for packages when listing pending updates (including when using the `-l/--list` option). - AlwaysShowNews # Always display Arch news before updating, regardless of whether there's a new one since the last run or not. -- CheckDevelopmentPackages # Also check/update AUR development packages. - NewsNum=[Num] # Number of Arch news to display before updating and with the `-n/--news` option (see the arch-update(1) man page for more details). Defaults to 5. - KeepOldPackages=[Num] # Number of old packages' versions to keep in pacman's cache. Defaults to 3. - KeepUninstalledPackages=[Num] # Number of uninstalled packages' versions to keep in pacman's cache. Defaults to 0. diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 48ee37b..ca508a6 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -33,10 +33,6 @@ if grep -Eq '^[[:space:]]*AlwaysShowNews[[:space:]]*$' "${XDG_CONFIG_HOME:-${HOM show_news="y" fi -if (grep -Eq '^[[:space:]]*CheckDevelopmentPackages[[:space:]]*$' "${XDG_CONFIG_HOME:-${HOME}/.config}/${name}/${name}.conf" 2> /dev/null); then - development_option="y" -fi - if grep -Eq '^[[:space:]]*NewsNum[[:space:]]*=[[:space:]]*[1-9][0-9]*[[:space:]]*$' "${XDG_CONFIG_HOME:-${HOME}/.config}/${name}/${name}.conf" 2> /dev/null; then news_num=$(grep -E '^[[:space:]]*NewsNum[[:space:]]*=[[:space:]]*[1-9][0-9]*[[:space:]]*$' "${XDG_CONFIG_HOME:-${HOME}/.config}/${name}/${name}.conf" 2> /dev/null | awk -F '=' '{print $2}' | tr -d '[:space:]') else