pagespeed-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject [07/50] [abbrv] incubator-pagespeed-cpanel git commit: fixed os arch handling
Date Sat, 30 Dec 2017 04:41:18 GMT
fixed os arch handling


Project: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/commit/a7873fab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/tree/a7873fab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/diff/a7873fab

Branch: refs/heads/master
Commit: a7873fab06192430efd27e1c3664a6eedeb0b38b
Parents: 82909f3
Author: root <root@server1.sooraj.net>
Authored: Sun Sep 29 19:34:36 2013 +0000
Committer: root <root@server1.sooraj.net>
Committed: Sun Sep 29 19:34:36 2013 +0000

----------------------------------------------------------------------
 Easy/pagespeed/speed-install | 5 +++++
 LICENSE                      | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/blob/a7873fab/Easy/pagespeed/speed-install
----------------------------------------------------------------------
diff --git a/Easy/pagespeed/speed-install b/Easy/pagespeed/speed-install
index 55c9081..5f07ace 100755
--- a/Easy/pagespeed/speed-install
+++ b/Easy/pagespeed/speed-install
@@ -11,6 +11,10 @@ use Cwd;
 
 my $arch         = `uname -i`;
 chomp($arch);
+if (($arch eq "i386") || ($arch eq "i686") || ($arch eq "i586"))
+{
+  $arch = "i386";
+} 
 
 my $module_dir   = "/usr/local/apache/modules";
 my $parent_dir   = "/var/mod_pagespeed";
@@ -49,6 +53,7 @@ my $package = "mod-pagespeed-stable_current_" . "$arch" . '.rpm';
 # https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
 # https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
 
+#we are always using stable version
 my $download_cmd = ("$download_bin https://dl-ssl.google.com/dl/linux/direct/$package");
 executeForkedTask("$download_cmd");
 

http://git-wip-us.apache.org/repos/asf/incubator-pagespeed-cpanel/blob/a7873fab/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 51cddf7..276497a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,7 @@
-Copyright (C) 2012-2013 Prajith
+Copyright (C) 2012-2013 Prajith && Ndimensionz
 
 http://www.prajith.in/install-mod_pagespeed-in-whmcpanel-using-easyapache/
+http://ndimensionz.com
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
 


Mime
View raw message