
    l:i5                     8    d dl Z d dlmZ ed        Zed        Zy)    N)sudo_supportc                     | j                   xr< t        j                  j                  | j                   d         xr d| j                  v S )Nr   zcommand not found)script_partsospathexistsoutputcommands    V/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/has_exists_script.pymatchr      s@     2BGGNN73G3G3J$K 27>>12    c                 8    dj                  | j                        S )Nz./{})formatscriptr
   s    r   get_new_commandr      s    >>'..))r   )r   thefuck.specific.sudor   r   r    r   r   <module>r      s3    	 . 2 2
 * *r   