diff options
author | Mario Finelli | 2016-03-11 12:03:14 +0000 |
---|---|---|
committer | Mario Finelli | 2016-03-11 12:03:14 +0000 |
commit | 1c47d505a37d57442560a29e3a6c4e07a246fdd8 (patch) | |
tree | bf04f1e3f510597032771eebb9b68c78a8ac6e8e /adminer.install | |
parent | 9e524acedba0c98b4c3f9129e83be3a921582801 (diff) | |
download | aur-1c47d505a37d57442560a29e3a6c4e07a246fdd8.tar.gz |
Update post install/upgrade message
Diffstat (limited to 'adminer.install')
-rw-r--r-- | adminer.install | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/adminer.install b/adminer.install index 4e4ac3de7b2f..893f68f56ff2 100644 --- a/adminer.install +++ b/adminer.install @@ -1,17 +1,17 @@ -TEXT=' -If you want to access adminer interface by your apache server, run following command as root:\n -echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf\n\n +read -r -d '' MESSAGE << EOM +If you use apache and want to enable the adminer interface just run the +following command as root: -And restart your apache running "rc.d restart httpd"\n -Or (if you are using systemd) "systemctl restart httpd"\n\n - -After you can browse adminer on http://localhost/adminer\n'; +echo "Include conf/extra/httpd-adminer.conf" >> /etc/httpd/conf/httpd.conf +Restart apache (systemctl restart httpd) and then you can access adminer on +http://localhost/adminer. +EOM post_install() { - echo -e $TEXT; + echo -e "$MESSAGE"; } post_upgrade() { - echo -e $TEXT; + echo -e "$MESSAGE"; } |