Projects
Kolab:Winterfell
guam
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 28
View file
guam.spec
Changed
@@ -162,16 +162,16 @@ rebar skip_deps=true eunit -v %pretrans -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 +test -d /opt/kolab_guam/lib || exit 0 +pushd /opt/kolab_guam/lib || exit 0 +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 >/dev/null 2>&1 || : +popd >/dev/null 2>&1 || : +exit 0 %pre if [ $1 == 1 ]; then
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
.