summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-17 14:18:21 +0200
committerErich Eckner <git@eckner.net>2019-09-17 14:18:21 +0200
commit9b01f6f6ea74789359e66e47149298068b935bfd (patch)
treef0cfc797cc70811415cbb3e630c1380a09e0422e /archPackagesUpdate
parent7ed61d3d67fc041a5f16543dbcb767a30df7a734 (diff)
downloadarchlinuxewe-9b01f6f6ea74789359e66e47149298068b935bfd.tar.xz
archPackagesUpdate: simplify(?) knocking
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate7
1 files changed, 5 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index f684c71e2..6548201e5 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -535,8 +535,11 @@ if ${aufRechenknecht}; then
SRCPKGDEST="${tmpDir}" makepkg -Sf
err[${i}]=$?
if [ ${err[${i}]} -eq 0 ]; then
- eval "$(grep -F 'alias knock-knock' ~/.bashrc)"
- knock-knock
+ eval "$(
+ grep -F 'alias knock-knock' ~/.bashrc \
+ | cut -d= -f2 \
+ | tr -d "'"
+ )"
arch_num=$(
printf '%s\n' "${arch}" \
| tr -d '[a-z]'