summarylogtreecommitdiffstats
path: root/sooperlooper.install
blob: 07e03b8a4087a057ab3514856e56e168cb0a55fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}