Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:crameleon:LibertaCasa
limnoria
limnoria_reset_password.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File limnoria_reset_password.patch of Package limnoria
--- Limnoria/src/scripts/limnoria_reset_password.py 2024-01-07 06:00:00.872528999 +0100 +++ limnoria_reset_password 2024-01-07 05:44:27.946790020 +0100 @@ -31,14 +31,25 @@ ### +import sys +import time -import supybot +# Note: This warning block and the imports are the only patches in limnoria_reset-password. The real patches happen in limnoria_reset-password-suse. +SUSEREADMEPATH = '/usr/share/doc/packages/python311-limnoria/README.SUSE' +try: + print('') + print('------------------------------------------------------------') + print("""WARNING:\nYou are running the upstream limnoria_reset-password 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_reset-password-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