Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0setup: change from /root/.packages to /var/packages #3779

Open
wants to merge 1 commit into
base: testing
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions woof-code/0setup
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down Expand Up @@ -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

Expand Down