From 0e37bc88a4d19144e6c9614cf6ff134cfa26be99 Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Thu, 29 Dec 2016 10:36:17 -0200 Subject: Populate Resources/Architecture at all times. --- bin/InstallPackage-RPM | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/InstallPackage-RPM') diff --git a/bin/InstallPackage-RPM b/bin/InstallPackage-RPM index 38c6e10..d5af1b8 100755 --- a/bin/InstallPackage-RPM +++ b/bin/InstallPackage-RPM @@ -163,9 +163,9 @@ function populate_resources() { Log_Normal "Populating Resources." mkdir -p Resources - if [ "$arch" ] && [ "$arch" != "noarch" ] - then - echo "$arch" > Resources/Architecture + if [ "$arch" ] + then echo "$arch" > Resources/Architecture + else echo "$(uname -m)" > Resources/Architecture fi if [ "$description" ] then -- cgit v1.1