Source Update
This commit is contained in:
		@@ -2,18 +2,16 @@ wx-stop () {
 | 
			
		||||
    echo " "
 | 
			
		||||
    echo " "
 | 
			
		||||
    echo " "
 | 
			
		||||
    if [[ -d "./src" ]]
 | 
			
		||||
    if [[ -f "./wx" ]] && [[ -d "./src" ]]
 | 
			
		||||
    then
 | 
			
		||||
        podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null
 | 
			
		||||
        mv wx.tmp wx &> /dev/null
 | 
			
		||||
        chmod +x wx &> /dev/null
 | 
			
		||||
    else
 | 
			
		||||
        sudo curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o /opt/wx &> /dev/null
 | 
			
		||||
        if [[ -d "/usr/bin" ]]
 | 
			
		||||
        then
 | 
			
		||||
            sudo ln -sf /opt/wx /usr/bin/wx &> /dev/null
 | 
			
		||||
        fi
 | 
			
		||||
        sudo chmod +x /usr/bin/wx &> /dev/null
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    sudo curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o /opt/wx &> /dev/null
 | 
			
		||||
    sudo ln -sf /opt/wx /usr/bin/wx &> /dev/null
 | 
			
		||||
    sudo chmod +x /usr/bin/wx &> /dev/null
 | 
			
		||||
 | 
			
		||||
    exit 1
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user