From 002846465c7b9e7f200dd2f3c91ba98d1ecb0ef2 Mon Sep 17 00:00:00 2001 From: Rizal Martin <49640119+rizalmart@users.noreply.github.com> Date: Mon, 26 Dec 2022 19:58:30 +0800 Subject: [PATCH] 0setup: change from /root/.packages to /var/packages --- woof-code/0setup | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/woof-code/0setup b/woof-code/0setup index 4de22048cd1..23f9ddf6af6 100755 --- a/woof-code/0setup +++ b/woof-code/0setup @@ -39,11 +39,11 @@ else #want to run this script in running puppy, to update db's... FIND_CAT='/usr/local/petget/find_cat' . /etc/DISTRO_SPECS - . /root/.packages/DISTRO_COMPAT_REPOS #v431 - . /root/.packages/DISTRO_PKGS_SPECS - . /root/.packages/PKGS_MANAGEMENT - . /root/.packages/DISTRO_PET_REPOS - cd /root/.packages + . /var/packages/DISTRO_COMPAT_REPOS #v431 + . /var/packages/DISTRO_PKGS_SPECS + . /var/packages/PKGS_MANAGEMENT + . /var/packages/DISTRO_PET_REPOS + cd /var/packages RUNNINGPUP='yes' if command -v apt > /dev/null; then PKG_DOCS_DISTRO_COMPAT="" @@ -378,7 +378,7 @@ fi if [ "$SETUPCALLEDFROM" = "ppm" ];then echo -e "\nFINISHED - Please restart Package Manager (PPM) now" echo -n "Press ENTER key to exit: " ; read enditnow - echo "`date +%Y%m%d `" > /root/.packages/db-date + echo "`date +%Y%m%d `" > /var/packages/db-date exit fi