Change paths to final locations

This commit is contained in:
mollusk 2020-10-28 00:50:08 -04:00
parent f4149ccf2b
commit 080a96991d

View File

@ -1,6 +1,6 @@
#!/bin/bash
CONFIG_DIR="${HOME}/.config/vur"
CONFIG_DIR="/voidpkg/vur"
CONFIG_FILE="vur.conf"
KEY_FILE="privkey.pem"
KEY_PATH="${CONFIG_DIR}/${KEY_FILE}"
@ -19,7 +19,7 @@ get_void_pkgs(){
read vpkgs_location
if [ -z "${vpkgs_location}" ];then
vpkgs_location="${HOME}/vur"
vpkgs_location="/voidpkg/void-packages"
echo "Creating directory: ${vpkgs_location}"
mkdir -p "${vpkgs_location}"
git clone https://github.com/void-linux/void-packages.git "${vpkgs_location}"
@ -51,7 +51,6 @@ gen_conf(){
echo "void_packages=${void_packages_location}/hostdir/binpkgs" >> "${CONFIG_DIR}/${CONFIG_FILE}"
echo "Provid enter the full path of your custom repository: "
source "${CONFIG_DIR}/${CONFIG_FILE}"
fi
}