instead of /tmp/alroot we should use /var/tmp/alroot, /tmp for /var/tmp #7

Merged
hippoz merged 2 commits from Ohio2/aps:master into master 2021-08-07 22:18:35 +03:00

4
aps
View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
temp_location="/tmp" temp_location="/var/tmp"
install_root="/tmp/alroot" install_root="/var/tmp/alroot"
Ohio2 marked this conversation as resolved Outdated

install root should not be /mnt by default

install root should not be /mnt by default
Outdated
Review

what do you think, like uhh / ? because i have no idea.

what do you think, like uhh / ? because i have no idea.

i'd say to leave it as /var/tmp/alroot at the moment

i'd say to leave it as /var/tmp/alroot at the moment
Outdated
Review

it's changed.

it's changed.
installed_pkg_database="${install_root}/var/aps/installed" installed_pkg_database="${install_root}/var/aps/installed"
locpkg_database="${install_root}/var/aps/repos" locpkg_database="${install_root}/var/aps/repos"
lock="${install_root}/var/aps/lock" lock="${install_root}/var/aps/lock"