diff options
author | Lucas C. Villa Real <lucasvr@gmail.com> | 2016-12-29 10:36:17 -0200 |
---|---|---|
committer | Lucas C. Villa Real <lucasvr@gmail.com> | 2016-12-29 10:36:43 -0200 |
commit | 0e37bc88a4d19144e6c9614cf6ff134cfa26be99 (patch) | |
tree | b533fd4aca7b59d51f20abe3493a2750fc762eb9 | |
parent | 9585c796e6f09ebf517339bc8ae52e23423cc268 (diff) | |
download | ThirdPartyInstallers-0e37bc88a4d19144e6c9614cf6ff134cfa26be99.tar.xz |
Populate Resources/Architecture at all times.
-rwxr-xr-x | bin/InstallPackage-RPM | 6 |
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 |