1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

kiss: clean up

This commit is contained in:
Dylan Araps 2020-05-21 11:47:13 +03:00
parent 4fe69427b7
commit 1a38d4f64f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

7
kiss
View File

@ -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.