Browse Source

renamved pkgexists to pkginstalled

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2262 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
75cbb9287b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/functions

+ 2
- 2
scripts/functions

@ -399,9 +399,9 @@ dump_env() {
pkgcheck() {
egrep -q "^$2.* ($1) " $base/config/$config/packages
}
# Check if a package exists (is build)
# Check if a package is already installed
#
pkgexists() {
pkginstalled() {
[ -f $root/var/adm/flists/$1 ]
}

Loading…
Cancel
Save