diff --git a/repo.sh b/repo.sh index 08c94e5..5c3a1ca 100755 --- a/repo.sh +++ b/repo.sh @@ -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 }