diff options
author | Tomáš Chvátal <tomas.chvatal@gmail.com> | 2018-04-26 11:03:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2018-04-26 11:03:19 -0700 |
commit | 06387dc2f36ac77455bef31b3925fe3810e24482 (patch) | |
tree | d68e4a692dd9311ebbaf483ad52fa5fda6ed8207 | |
parent | etc-update: support fedora and rhel with rpm OS_FAMILY (diff) | |
download | portage-06387dc2f36ac77455bef31b3925fe3810e24482.tar.gz portage-06387dc2f36ac77455bef31b3925fe3810e24482.tar.bz2 portage-06387dc2f36ac77455bef31b3925fe3810e24482.zip |
etc-update: fix get_scan_regexp for arch OS_FAMILY
-rwxr-xr-x | bin/etc-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update index 8b3604a4c..720bd83d3 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -62,7 +62,7 @@ elif [[ $OS_FAMILY == 'arch' ]]; then printf -- '%s\n' "${1}.${NEW_EXT}" } get_scan_regexp() { - echo "s:\(^.*/\)\(.*\)\(\.rpmnew\):\1\2\3$b\1$b\3$b\2:" + echo "s:\(^.*/\)\(.*\)\(\.${NEW_EXT}\):\1\2\3$b\1$b\3$b\2:" } get_live_file() { printf -- '%s\n' "${cfg_file%.${NEW_EXT}}" |