Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:crameleon:LibertaCasa
limnoria
limnoria_adduser.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File limnoria_adduser.patch of Package limnoria
--- Limnoria/src/scripts/limnoria_adduser.py 2024-01-07 06:00:00.872528999 +0100 +++ limnoria_adduser 2024-01-07 05:44:27.923456544 +0100 @@ -31,14 +31,25 @@ ### +import sys +import time -import supybot +# Note: This warning block and the imports are the only patches in limnoria_adduser. The real patches happen in supybot-adduser-suse. +SUSEREADMEPATH = '/usr/share/doc/packages/python311-limnoria/README.SUSE' +try: + print('') + print('------------------------------------------------------------') + print("""WARNING:\nYou are running the upstream limnoria_adduser script. It does not know about the correct directory layout and may interfere with the system installation of Limnoria.\nWhilst you are free to proceed with this upstream script at your own risk, it is highly recommended to run ` sudo -u limnoria limnoria_adduser-suse ` instead.\nPlease read %s for further SUSE specific details on operating your Limnoria installation.\nThe script execution will now pause for 10 seconds, giving you time to abort using Ctrl-C.""" % SUSEREADMEPATH) + print('------------------------------------------------------------') + print('') + time.sleep(10) +except KeyboardInterrupt: + sys.exit(0) -from supybot.questions import * - -import os -import sys import optparse +import os +import supybot +from supybot.questions import * def main(): import supybot.log as log
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