Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:crameleon:LibertaCasa
limnoria
update.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update.sh of Package limnoria
#!/bin/bash -efu SCRIPTS=( 'limnoria_adduser' 'limnoria_reset_password' 'limnoria_wizard' ) test -d Limnoria || osc service ra test -d work || mkdir work pushd work test -d good || mkdir good test -d bad || mkdir bad for script in "${SCRIPTS[@]}" do cp ../Limnoria/src/scripts/"$script.py" "$script" for suffix in '' '-suse' do test -z "$suffix" || cp "$script" "${script}${suffix}" if patch < ../"${script}${suffix}.patch" then echo "good: $script" else mv "${script}${suffix}" bad/ for patchsuffix in orig rej do test -f "${script}${suffix}.${patchsuffix}" && mv "${script}${suffix}.${patchsuffix}" bad/ done echo "bad: $script" fi done find -maxdepth 1 -type f -execdir mv {} good/ \; done popd
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