minor changes
This commit is contained in:
parent
80a0739a54
commit
cb5ccc1291
3 changed files with 4 additions and 7 deletions
|
@ -1,3 +0,0 @@
|
|||
echo "relinking resolv.conf"
|
||||
sudo mv /etc/resolv.conf /etc/resolv.conf.bak
|
||||
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
|
@ -3,7 +3,7 @@ help() {
|
|||
echo "Usage: $(basename $0)
|
||||
[-e] Installs Firefox ESR
|
||||
[-f] Installs Flatpak Firefox
|
||||
[-r] Installs regular Firefox and Pins It's Priority
|
||||
[-d] Installs Firefox from the PPA and Pins it's Priority in apt
|
||||
[-p] Purges the Snapd daemon from the system. Use if you don't want snaps anymore period."
|
||||
exit 1
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ while getopts 'efrp:h' opt; do
|
|||
flatpak install flathub org.mozilla.firefox
|
||||
;;
|
||||
|
||||
r)
|
||||
d)
|
||||
echo "Installing Regular Firefox"
|
||||
add_ppa
|
||||
sudo apt-get -y install -t 'o=LP-PPA-mozillateam' firefox
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
fdfind -e mp4 | while read i; do
|
||||
length=$(mediainfo --Inform="Video;%Duration%" "$i")
|
||||
if [[ $length -le 4500 ]]; then
|
||||
rm "$i"
|
||||
trash "$i"
|
||||
#kioclient move $i "trash:/"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue