Add missing -y to scripts

This commit is contained in:
Martynas Puronas
2024-06-08 08:24:05 +03:00
parent c8efcc5ac9
commit f579e7d560
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
cd ~/Downloads
LOCALSEND_VERSION=$(curl -s "https://api.github.com/repos/localsend/localsend/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
wget -O localsend.deb "https://github.com/localsend/localsend/releases/latest/download/LocalSend-${LOCALSEND_VERSION}-linux-x86-64.deb"
sudo apt install ./localsend.deb
sudo apt install -y ./localsend.deb
rm localsend.deb
cd -

View File

@@ -1,5 +1,5 @@
wget -qO - https://typora.io/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo add-apt-repository -y 'deb https://typora.io/linux ./'
sudo apt update
sudo apt install -y typora