Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:ownCloud:desktop:client-2.5.4
owncloud-client
fix_theme_250.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_theme_250.sh of Package owncloud-client
#! /bin/sh # # make an old theme compatible with 2.5.0 code # Workaround for https://kanboard.owncloud.com/project/1/task/1828 # # (C) 2018-02-08 jw@owncloud.com themedir=$1 counter=0 # 2.4.x needs testpilotcloud-icon-64.png # 2.5.x needs 64-testpilotcloud-icon.png for f in $1/*/*-sidebar-* $1/*/*-icon-*; do newname=$(echo $f | sed -e 's@/\([^/]*\)-\([0-9][0-9]*\)\.@/\2-\1.@') if [ "$newname" != "$f" ]; then ## mv does not work. We use cp instead. mv causes # rcc failed... # src/gui/CMakeFiles/testpilotcloud_automoc.dir/build.make:57: recipe for target 'src/gui/CMakeFiles/testpilotcloud_automoc' failed cp $f $newname counter=$(expr $counter + 1) fi done echo "$counter icons updated from 2.4.x names to 2.5.x names".
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor