Search
j0ke.net Open Build Service
>
Projects
>
server:guacamole
>
guacamole
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
guacamole.spec
@@ -42,13 +42,19 @@ %config(noreplace) /etc/guacamole/user-mapping.xml %dir /var/lib/guacamole /var/lib/guacamole/guacamole.war +%ghost /usr/share/tomcat6/webapps/guacamole.war +%ghost /usr/share/tomcat6/lib/guacamole.properties %post -ln -sf /var/lib/guacamole/guacamole.war /usr/share/tomcat6/webapps/guacamole.war || : -ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat6/lib/guacamole.properties || : +if [ "$1" == "1" ] ; then + ln -sf /var/lib/guacamole/guacamole.war /usr/share/tomcat6/webapps/guacamole.war || : + ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat6/lib/guacamole.properties || : +fi %preun -rm -f /usr/share/tomcat6/webapps/guacamole.war || : -rm -f /usr/share/tomcat6/lib/guacamole.properties || : +if [ "$1" == "0" ] ; then + rm -f /usr/share/tomcat6/webapps/guacamole.war || : + rm -f /usr/share/tomcat6/lib/guacamole.properties || : +fi %changelog