3
This commit is contained in:
@@ -4,6 +4,10 @@ package_is_installed() {
|
||||
dpkg -s "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
package_is_available() {
|
||||
apt-cache show "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
package_refresh_indexes() {
|
||||
apt-get update
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user