Added install-script
This commit is contained in:
parent
42e27220a6
commit
e569dad6dd
3 changed files with 7 additions and 3 deletions
2
INSTALL
2
INSTALL
|
@ -1,6 +1,6 @@
|
||||||
==== Installing Pizza ====
|
==== 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
|
install -m 755 src/pizza /usr/local/bin/pizza
|
||||||
mkdir -p /usr/local/share/pizza
|
mkdir -p /usr/local/share/pizza
|
||||||
|
|
3
README
3
README
|
@ -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!
|
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
|
To run "pizza" from the bare repository, cd into the src directory and run
|
||||||
|
|
||||||
export PIZZAINC="../assets"; ./pizza
|
export PIZZAINC="../assets"; ./pizza
|
||||||
|
|
||||||
|
|
5
install.sh
Executable file
5
install.sh
Executable 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/
|
Loading…
Reference in a new issue