Projects
Kolab:Winterfell
guam
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 27
View file
guam.spec
Changed
@@ -162,12 +162,16 @@ rebar skip_deps=true eunit -v %pretrans -pushd /opt/kolab_guam/lib >/dev/null 2>&1 || : -for dir in $(ls -d */ | grep -v kolab_guam); do - dir=$(basename ${dir}) - rm -rf -- /opt/kolab_guam/lib/${dir} -done -popd >/dev/null 2>&1 || : +if [ -d /opt/kolab_guam/lib ]; then + pushd /opt/kolab_guam/lib >/dev/null 2>&1 || : + for dir in $(ls -d */ | grep -v kolab_guam); do + if [ -d ${dir} -a ! -L ${dir} ]; then + dir=$(basename ${dir}) + rm -rf -- /opt/kolab_guam/lib/${dir} >/dev/null 2>&1 || : + fi + done + popd >/dev/null 2>&1 || : +fi %pre if [ $1 == 1 ]; then @@ -202,7 +206,7 @@ %posttrans test -f /etc/sysconfig/guam-disable-posttrans || \ - %{_bindir}/service restart guam 2>&1 || : + %{_sbindir}/service restart guam 2>&1 || : %endif %files
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.