mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 12:04:59 +02:00
@eshanized pushed another commit via script 🔥🔥🔥
This commit is contained in:
10
common/snigdhaos-updater/aux-script
Normal file
10
common/snigdhaos-updater/aux-script
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
package-exists-fast(){
|
||||
if compgen -G "/var/lib/pacman/local/$1-*" >/dev/null; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user