13 lines
231 B
Plaintext
Raw Normal View History

#!/bin/bash
2017-09-01 18:34:34 -05:00
OBS_API="${OBS_API:-https://api.opensuse.org/public}"
cat << eom > ~/.oscrc
[general]
2017-09-01 18:34:34 -05:00
apiurl = $OBS_API
[$OBS_API]
user = ${OBS_USER:-example}
pass = ${OBS_PASS:-example}
email = ${OBS_EMAIL:-example@example.com}
eom