Added install-script

This commit is contained in:
Oliver Rümpelein 2015-01-02 12:55:12 +01:00
parent 42e27220a6
commit e569dad6dd
3 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
==== Installing Pizza ====
For Pizza to work, you need a running mailservice (either server, smarthost or local) using "mailx" from s-nail (provided by, i.e., heirloom-mailx in debian, s-nail in arch) . Install Pizza running the following commands as root after cd'ing into the git base directory:
For Pizza to work, you need a running mailservice (either server, smarthost or local) using "mailx" from s-nail (provided by, i.e., heirloom-mailx in debian, s-nail in arch). Install Pizza by running "install.sh" from the base-dir, or the following commands as root after cd'ing into the git base directory:
install -m 755 src/pizza /usr/local/bin/pizza
mkdir -p /usr/local/share/pizza

3
README
View file

@ -2,9 +2,8 @@ Ever wanted to share a pizza (or else) to anyone who offers a service, for examp
With PIZZA, you may now send pizza (or else) to any mailaddress out there!
Usage: See INSTTALL for prerequisites.
Usage: See INSTALL for prerequisites.
To run "pizza" from the bare repository, cd into the src directory and run
export PIZZAINC="../assets"; ./pizza

5
install.sh Executable file
View file

@ -0,0 +1,5 @@
#/bin/bash
install -m 755 src/pizza /usr/local/bin/pizza
mkdir -p /usr/local/share/pizza
install -m 644 assets/* /usr/local/share/pizza/