Skip to content

Commit

Permalink
🚧 update path
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jun 30, 2023
1 parent caf9db4 commit 5618444
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/chwd
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ local function main()
pmconfig = get_opt_argument(options, "pmconfig", "/etc/pacman.conf")
pacman = table.concat({"pacman --noconfirm", "--cachedir", cachedir, "-r", pmroot, "--config", pmconfig}, " ")
local profile_name = get_opt_argument(options, "profile")
local path = get_opt_argument(options, "path", "/var/lib/mhwd/db/profiles.toml")
local path = get_opt_argument(options, "path", "/var/lib/chwd/db/profiles.toml")

if options.sync then
sync = true
Expand Down
6 changes: 3 additions & 3 deletions src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

pub const CHWD_CONFIG_FILE: &str = "profiles.toml";
pub const CHWD_PCI_CONFIG_DIR: &str = "/var/lib/mhwd/db/pci/";
pub const CHWD_PCI_DATABASE_DIR: &str = "/var/lib/mhwd/local/pci/";
pub const CHWD_SCRIPT_PATH: &str = "/var/lib/mhwd/scripts/chwd";
pub const CHWD_PCI_CONFIG_DIR: &str = "/var/lib/chwd/db/pci/";
pub const CHWD_PCI_DATABASE_DIR: &str = "/var/lib/chwd/local/pci/";
pub const CHWD_SCRIPT_PATH: &str = "/var/lib/chwd/scripts/chwd";

pub const CHWD_PM_CACHE_DIR: &str = "/var/cache/pacman/pkg";
pub const CHWD_PM_CONFIG: &str = "/etc/pacman.conf";
Expand Down

0 comments on commit 5618444

Please sign in to comment.