fix: pac update
This commit is contained in:
parent
0b5d73cd6e
commit
188d0b8ba0
3 changed files with 34 additions and 35 deletions
|
|
@ -1,14 +1,6 @@
|
||||||
app.moosync.moosync
|
|
||||||
ar.xjuan.Cambalache
|
ar.xjuan.Cambalache
|
||||||
Editor
|
|
||||||
chat.revolt.RevoltDesktop
|
|
||||||
chat.schildi.desktop
|
|
||||||
Browser
|
Browser
|
||||||
com.feaneron.Boatswain
|
|
||||||
com.github.GradienceTeam.Gradience
|
com.github.GradienceTeam.Gradience
|
||||||
com.github.KRTirtho.Spotube
|
|
||||||
com.github.Matoking.protontricks
|
|
||||||
com.github.babluboy.bookworm
|
|
||||||
com.github.tchx84.Flatseal
|
com.github.tchx84.Flatseal
|
||||||
Games
|
Games
|
||||||
com.lakoliu.Furtherance
|
com.lakoliu.Furtherance
|
||||||
|
|
@ -16,20 +8,15 @@ Studio
|
||||||
com.rustdesk.RustDesk
|
com.rustdesk.RustDesk
|
||||||
com.usebottles.bottles
|
com.usebottles.bottles
|
||||||
com.valvesoftware.Steam.Utility.gamescope
|
com.valvesoftware.Steam.Utility.gamescope
|
||||||
com.vysp3r.ProtonPlus
|
|
||||||
de.haeckerfelix.Fragments
|
de.haeckerfelix.Fragments
|
||||||
de.shorsh.discord-screenaudio
|
de.shorsh.discord-screenaudio
|
||||||
im.fluffychat.Fluffychat
|
im.fluffychat.Fluffychat
|
||||||
in.cinny.Cinny
|
|
||||||
info.mumble.Mumble
|
|
||||||
io.github.Foldex.AdwSteamGtk
|
io.github.Foldex.AdwSteamGtk
|
||||||
io.github.lainsce.Colorway
|
io.github.lainsce.Colorway
|
||||||
Manager
|
Manager
|
||||||
io.github.spacingbat3.webcord
|
io.github.spacingbat3.webcord
|
||||||
net.danigm.timetrack
|
|
||||||
net.davidotek.pupgui2
|
net.davidotek.pupgui2
|
||||||
Picker
|
Picker
|
||||||
Media
|
|
||||||
Platform
|
Platform
|
||||||
Platform
|
Platform
|
||||||
Platform
|
Platform
|
||||||
|
|
@ -38,8 +25,6 @@ org.freedesktop.Platform.GL.default
|
||||||
org.freedesktop.Platform.GL.default
|
org.freedesktop.Platform.GL.default
|
||||||
(Extra)
|
(Extra)
|
||||||
org.freedesktop.Platform.GL.default
|
org.freedesktop.Platform.GL.default
|
||||||
org.freedesktop.Platform.GL.default
|
|
||||||
(Extra)
|
|
||||||
(Extra)
|
(Extra)
|
||||||
org.freedesktop.Platform.GL32.default
|
org.freedesktop.Platform.GL32.default
|
||||||
org.freedesktop.Platform.GL32.default
|
org.freedesktop.Platform.GL32.default
|
||||||
|
|
@ -49,13 +34,6 @@ org.freedesktop.Platform.ffmpeg-full
|
||||||
org.freedesktop.Platform.ffmpeg_full.i386
|
org.freedesktop.Platform.ffmpeg_full.i386
|
||||||
org.freedesktop.Platform.openh264
|
org.freedesktop.Platform.openh264
|
||||||
org.freedesktop.Platform.openh264
|
org.freedesktop.Platform.openh264
|
||||||
org.freedesktop.Platform.openh264
|
|
||||||
org.gnome.Fractal.Devel
|
|
||||||
Network
|
|
||||||
Safe
|
|
||||||
Application
|
|
||||||
Application
|
|
||||||
Application
|
|
||||||
Application
|
Application
|
||||||
Application
|
Application
|
||||||
Application
|
Application
|
||||||
|
|
@ -63,15 +41,12 @@ org.gnome.Platform.Compat.i386
|
||||||
Software
|
Software
|
||||||
Software
|
Software
|
||||||
Library
|
Library
|
||||||
org.godotengine.Godot
|
|
||||||
Gtk
|
Gtk
|
||||||
theme
|
theme
|
||||||
theme
|
theme
|
||||||
Application
|
Application
|
||||||
Application
|
Application
|
||||||
Application
|
Application
|
||||||
Desktop
|
|
||||||
org.winehq.Wine.DLLs.dxvk
|
org.winehq.Wine.DLLs.dxvk
|
||||||
org.winehq.Wine.gecko
|
org.winehq.Wine.gecko
|
||||||
org.winehq.Wine.mono
|
org.winehq.Wine.mono
|
||||||
re.sonny.Workbench
|
|
||||||
|
|
|
||||||
27
scripts/pac
27
scripts/pac
|
|
@ -47,19 +47,40 @@ install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
remove() {
|
remove() {
|
||||||
PKG=$(pacman -Qs "$2")
|
PKG=$(pacman -Qs "$1")
|
||||||
if [ "$PKG" == '' ]; then
|
if [ "$PKG" == '' ]; then
|
||||||
flatpak uninstall "$PKG"
|
flatpak uninstall "$1"
|
||||||
else
|
else
|
||||||
sudo pacman -R "$PKG"
|
sudo pacman -R "$1"
|
||||||
fi
|
fi
|
||||||
save
|
save
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update() {
|
||||||
|
CHOICE="Y"
|
||||||
|
read -p "Update pacman? [Y/n] " CHOICE
|
||||||
|
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
|
||||||
|
sudo pacman -Suy
|
||||||
|
fi
|
||||||
|
CHOICE="Y"
|
||||||
|
read -p "Update flatpak? [Y/n] " CHOICE
|
||||||
|
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
|
||||||
|
flatpak update
|
||||||
|
fi
|
||||||
|
CHOICE="Y"
|
||||||
|
read -p "Update AUR? [Y/n] " CHOICE
|
||||||
|
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
|
||||||
|
sudo paru -Suy
|
||||||
|
fi
|
||||||
|
CHOICE="Y"
|
||||||
|
}
|
||||||
|
|
||||||
if [ "$1" == "-S" ]; then
|
if [ "$1" == "-S" ]; then
|
||||||
install "$2"
|
install "$2"
|
||||||
elif [ "$1" == "-R" ]; then
|
elif [ "$1" == "-R" ]; then
|
||||||
remove "$2"
|
remove "$2"
|
||||||
|
elif [ "$1" == "-Suy" ]; then
|
||||||
|
update
|
||||||
elif [ "$1" == "save" ]; then
|
elif [ "$1" == "save" ]; then
|
||||||
save
|
save
|
||||||
elif [ "$1" == "load" ]; then
|
elif [ "$1" == "load" ]; then
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,6 @@ electron25
|
||||||
element-desktop-nightly-bin
|
element-desktop-nightly-bin
|
||||||
element-web
|
element-web
|
||||||
elfutils
|
elfutils
|
||||||
emacs
|
|
||||||
embree
|
embree
|
||||||
embree3
|
embree3
|
||||||
enchant
|
enchant
|
||||||
|
|
@ -1315,12 +1314,6 @@ lpsolve
|
||||||
lsb-release
|
lsb-release
|
||||||
lsd
|
lsd
|
||||||
lsof
|
lsof
|
||||||
lsp-plugins
|
|
||||||
lsp-plugins-clap
|
|
||||||
lsp-plugins-ladspa
|
|
||||||
lsp-plugins-lv2
|
|
||||||
lsp-plugins-standalone
|
|
||||||
lsp-plugins-vst
|
|
||||||
lua
|
lua
|
||||||
lua-lpeg
|
lua-lpeg
|
||||||
lua51
|
lua51
|
||||||
|
|
@ -1643,6 +1636,8 @@ python-annotated-types
|
||||||
python-anytree
|
python-anytree
|
||||||
python-appdirs
|
python-appdirs
|
||||||
python-argcomplete
|
python-argcomplete
|
||||||
|
python-argon2-cffi-bindings
|
||||||
|
python-argon2_cffi
|
||||||
python-attrs
|
python-attrs
|
||||||
python-autocommand
|
python-autocommand
|
||||||
python-babel
|
python-babel
|
||||||
|
|
@ -1657,11 +1652,13 @@ python-click
|
||||||
python-cmake-build-extension
|
python-cmake-build-extension
|
||||||
python-colorama
|
python-colorama
|
||||||
python-configobj
|
python-configobj
|
||||||
|
python-construct
|
||||||
python-coverage
|
python-coverage
|
||||||
python-cryptography
|
python-cryptography
|
||||||
python-cssselect
|
python-cssselect
|
||||||
python-dacite
|
python-dacite
|
||||||
python-dateutil
|
python-dateutil
|
||||||
|
python-decorator
|
||||||
python-distlib
|
python-distlib
|
||||||
python-distro
|
python-distro
|
||||||
python-docopt
|
python-docopt
|
||||||
|
|
@ -1672,6 +1669,7 @@ python-evdev
|
||||||
python-fastbencode
|
python-fastbencode
|
||||||
python-fastjsonschema
|
python-fastjsonschema
|
||||||
python-filelock
|
python-filelock
|
||||||
|
python-future
|
||||||
python-gitdb
|
python-gitdb
|
||||||
python-gitpython
|
python-gitpython
|
||||||
python-gobject
|
python-gobject
|
||||||
|
|
@ -1712,12 +1710,15 @@ python-platformdirs
|
||||||
python-ply
|
python-ply
|
||||||
python-psutil
|
python-psutil
|
||||||
python-pycparser
|
python-pycparser
|
||||||
|
python-pycryptodomex
|
||||||
python-pycups
|
python-pycups
|
||||||
python-pycurl
|
python-pycurl
|
||||||
python-pydantic
|
python-pydantic
|
||||||
python-pydantic-core
|
python-pydantic-core
|
||||||
python-pygments
|
python-pygments
|
||||||
|
python-pykeepass
|
||||||
python-pynacl
|
python-pynacl
|
||||||
|
python-pyotp
|
||||||
python-pyparsing
|
python-pyparsing
|
||||||
python-pyrsistent
|
python-pyrsistent
|
||||||
python-pyserial
|
python-pyserial
|
||||||
|
|
@ -1750,12 +1751,14 @@ python-typing_extensions
|
||||||
python-urllib3
|
python-urllib3
|
||||||
python-userpath
|
python-userpath
|
||||||
python-validate-pyproject
|
python-validate-pyproject
|
||||||
|
python-validators
|
||||||
python-virtualenv
|
python-virtualenv
|
||||||
python-virtualenv-clone
|
python-virtualenv-clone
|
||||||
python-wheel
|
python-wheel
|
||||||
python-xlib
|
python-xlib
|
||||||
python-yaml
|
python-yaml
|
||||||
python-zstandard
|
python-zstandard
|
||||||
|
python-zxcvbn
|
||||||
qca-qt5
|
qca-qt5
|
||||||
qemu-audio-alsa
|
qemu-audio-alsa
|
||||||
qemu-audio-dbus
|
qemu-audio-dbus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue