update rc
This commit is contained in:
1 parent
cf0750198d
commit
95e2551110
2 files changed
+9
-10
No files matched your search
+5
-5
@@ -11,12 +11,8 @@
|
||||
## ## ##
|
||||
## ## ##
|
||||
|
||||
#----- colors -------
|
||||
. /usr/lib/init/colors.sh
|
||||
#--------------------
|
||||
|
||||
#---------------- variables --------------------------
|
||||
rootdir=/
|
||||
rootdir=$(pwd)
|
||||
repofile=$rootdir/etc/pm/repo
|
||||
packagesqueryfile=$rootdir/usr/share/pm/query
|
||||
reposquerydir=$rootdir/usr/share/pm/repos
|
||||
@@ -24,6 +20,10 @@ cachedpkgdir=$rootdir/var/cache/pm/pkg
|
||||
installedpackagesdir=$rootdir/usr/share/pm/packages
|
||||
#-----------------------------------------------------
|
||||
|
||||
#----- colors -------
|
||||
. $rootdir/usr/lib/init/colors.sh
|
||||
#--------------------
|
||||
|
||||
#---------------- check root priveleges function ------------------------
|
||||
checkroot() {
|
||||
if [[ $(id -u) != 0 ]]; then
|
||||
|
||||
Reference in new issue
Block a user