Skip to content

Commit

Permalink
Convert Makefile to install script for the scenario "make" not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
henrysher committed Oct 6, 2014
1 parent 5fa5074 commit 83d8ee9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ What's the difference between Cob and original [yum s3 plugin](https://github.co

## Quick Start

* Installation: **make install**
* Installation: **./install.sh**
* plugin conf: **cob.conf** --> /etc/yum/pluginconf.d/cob.conf
* plugin code: **cob.py** --> /usr/lib/yum-plugins/cob.py
* yum repo conf: **cob.repo** --> /etc/yum.repos.d/cob.repo
Expand Down
13 changes: 7 additions & 6 deletions Makefile → install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
# Cob: yet another yum S3 plugin
#
# Copyright 2014, Henry Huang
Expand All @@ -14,9 +15,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.


install:
install -m 0644 cob.conf /etc/yum/pluginconf.d/cob.conf
install -m 0644 cob.py /usr/lib/yum-plugins/cob.py
.PHONY: install
echo "**************** Cob Installing ****************"
echo
install -v -m 0644 cob.conf /etc/yum/pluginconf.d/cob.conf
install -v -m 0644 cob.py /usr/lib/yum-plugins/cob.py
echo
echo "**************** END ****************"

0 comments on commit 83d8ee9

Please sign in to comment.