Browse Source

Updates deb package scripts.

j8
Damian Minkov 10 years ago
parent
commit
c06c1caad8

+ 1
- 1
debian/jitsi-meet-prosody.postinst View File

23
 
23
 
24
         . /etc/default/jitsi-videobridge
24
         . /etc/default/jitsi-videobridge
25
 
25
 
26
-        if [ -x /etc/prosody/prosody.cfg.lua ]; then
26
+        if [ -f /etc/prosody/prosody.cfg.lua ]; then
27
             mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
27
             mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
28
         fi
28
         fi
29
         gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
29
         gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua

+ 2
- 2
debian/jitsi-meet-prosody.postrm View File

23
 
23
 
24
 
24
 
25
 case "$1" in
25
 case "$1" in
26
-    purge|remove)
26
+    remove)
27
         if [ -x "/etc/init.d/prosody" ]; then
27
         if [ -x "/etc/init.d/prosody" ]; then
28
             invoke-rc.d nginx reload
28
             invoke-rc.d nginx reload
29
         fi
29
         fi
30
     ;;
30
     ;;
31
 
31
 
32
-    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
32
+    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
33
     ;;
33
     ;;
34
 
34
 
35
     *)
35
     *)

+ 2
- 2
debian/jitsi-meet.postrm View File

23
 
23
 
24
 
24
 
25
 case "$1" in
25
 case "$1" in
26
-    purge|remove)
26
+    remove)
27
         if [ -x "/etc/init.d/nginx" ]; then
27
         if [ -x "/etc/init.d/nginx" ]; then
28
             invoke-rc.d nginx reload
28
             invoke-rc.d nginx reload
29
         fi
29
         fi
30
     ;;
30
     ;;
31
 
31
 
32
-    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
32
+    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
33
     ;;
33
     ;;
34
 
34
 
35
     *)
35
     *)

Loading…
Cancel
Save