aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2016-12-29 10:36:17 -0200
committerLucas C. Villa Real <lucasvr@gmail.com>2016-12-29 10:36:43 -0200
commit0e37bc88a4d19144e6c9614cf6ff134cfa26be99 (patch)
treeb533fd4aca7b59d51f20abe3493a2750fc762eb9
parent9585c796e6f09ebf517339bc8ae52e23423cc268 (diff)
downloadThirdPartyInstallers-0e37bc88a4d19144e6c9614cf6ff134cfa26be99.tar.xz
Populate Resources/Architecture at all times.
-rwxr-xr-xbin/InstallPackage-RPM6
1 files changed, 3 insertions, 3 deletions
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