summarylogtreecommitdiffstats
path: root/sooperlooper.install
diff options
context:
space:
mode:
authorAUR Archive Bot2015-08-17 18:51:58 +0200
committerVirtualTam2015-09-15 02:08:31 +0200
commit743b6f7b60885481c0fb3ff0f453281282840a69 (patch)
tree9aa40cffd75495ea41540c6ea76ec38400a0ba2b /sooperlooper.install
downloadaur-743b6f7b60885481c0fb3ff0f453281282840a69.tar.gz
Initial AUR Archive commit of 'sooperlooper'
(full history will be added later) Amended to add .SRCINFO
Diffstat (limited to 'sooperlooper.install')
-rw-r--r--sooperlooper.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/sooperlooper.install b/sooperlooper.install
new file mode 100644
index 000000000000..07e03b8a4087
--- /dev/null
+++ b/sooperlooper.install
@@ -0,0 +1,27 @@
+post_install() {
+ cat << EOF
+
+>>> If slgui cannot connect to the engine giving:
+
+ "Lost connection to SooperLooper engine.
+ See the Preferences->Connections tab to start a new one"
+
+>>> then you have to manually add your hostname alias in your /etc/hosts:
+
+ 127.0.0.1 localhost.localdomain localhost yourhostname
+
+>>> or you can do it automatically using this one liner (you need su or sudo):
+
+ sed -i "/127.0.0.1/s/$/\t$(hostname)/" /etc/hosts
+
+EOF
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}