diff --git a/kiss b/kiss index eabc0ac..987497a 100755 --- a/kiss +++ b/kiss @@ -1550,9 +1550,6 @@ main() { # Check this once so as to not slow down printing. [ "$KISS_COLOR" = 0 ] || lcol='\033[1;33m' lcol2='\033[1;36m' lclr='\033[m' - # Set the location to the repository and package database. - pkg_db=var/db/kiss/installed - # The PID of the current shell process is used to isolate directories # to each specific KISS instance. This allows multiple package manager # instances to be run at once. Store the value in another variable so @@ -1584,9 +1581,9 @@ main() { # some operations if left unchecked. KISS_ROOT=${KISS_ROOT%/} - # Define this variable but don't create its directory structure from the - # get go. It will be created as needed by package installation. + # Define some paths which we will then use throughout the script. sys_db=$KISS_ROOT/$pkg_db + pkg_db=var/db/kiss/installed # This allows for automatic setup of a KISS chroot and will # do nothing on a normal system.