%PDF- %PDF-
Direktori : /lib/python3/dist-packages/DistUpgrade/__pycache__/ |
Current File : //lib/python3/dist-packages/DistUpgrade/__pycache__/DistUpgradeMain.cpython-312.pyc |
� &��e�$ � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m Z d dl mZ d dlmZ g d�Z ddlmZ d� Zd � Zd � Zd� Zd� Zd � Zy)� N)�datetime)�OptionParser)�gettext) z/binz/bootz/etcz/initrdz/libz/lib32z/lib64z/sbinz/usrz/var� )�DistUpgradeConfigc � � t � } | j dddd�� | j ddd�� | j d dd �� | j ddd t d� �� | j dddt d� �� | j ddddt d� �� | j dddt d� �� | j dddt d� �� | j ddd dt d!� �"� | j � S )#z/ setup option parser and parse the commandline z--have-prerequists�havePrerequists� store_trueF)�dest�action�defaultz--with-network�withNetwork)r r z--without-network�store_falsez --frontend�frontendNz_Use frontend. Currently available: DistUpgradeViewText, DistUpgradeViewGtk, DistUpgradeViewKDE)r r �helpz--mode�mode�desktopz(*DEPRECATED* this option will be ignoredz --partial�partialz:Perform a partial upgrade only (no sources.list rewriting))r r r r z--disable-gnu-screenzDisable GNU screen support)r r r z --datadir�datadir�.zSet datadirz--devel-release� devel_releasez"Upgrade to the development release)r r r r )r � add_option�_� parse_args)�parsers �=/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeMain.py�do_commandliner 6 sH � � �^�F� ���*�1B�)�5� � :� ���&�]�,��O� ���)� �]��S� ���l��D�� [� \� � ]� ���h�V�I��G�H� � J� ���k� �5�)��Y�Z� � \� ���,�\�#��9�:� � <� ���k� �3��]�+� � -� ���'��*�E��A�B� � D� ����� c �F � |j ddd� }t j j |� st j |� t j |dz � r�t j � }|d|j |j |j |j |j fz z }t j j |� st j |� t j |dz � D ]S }t j |t j j |t j j! |� � � �U t j j |d� }| j"