Change paths to final locations
This commit is contained in:
parent
f4149ccf2b
commit
080a96991d
5
repo.sh
5
repo.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CONFIG_DIR="${HOME}/.config/vur"
|
CONFIG_DIR="/voidpkg/vur"
|
||||||
CONFIG_FILE="vur.conf"
|
CONFIG_FILE="vur.conf"
|
||||||
KEY_FILE="privkey.pem"
|
KEY_FILE="privkey.pem"
|
||||||
KEY_PATH="${CONFIG_DIR}/${KEY_FILE}"
|
KEY_PATH="${CONFIG_DIR}/${KEY_FILE}"
|
||||||
@ -19,7 +19,7 @@ get_void_pkgs(){
|
|||||||
read vpkgs_location
|
read vpkgs_location
|
||||||
|
|
||||||
if [ -z "${vpkgs_location}" ];then
|
if [ -z "${vpkgs_location}" ];then
|
||||||
vpkgs_location="${HOME}/vur"
|
vpkgs_location="/voidpkg/void-packages"
|
||||||
echo "Creating directory: ${vpkgs_location}"
|
echo "Creating directory: ${vpkgs_location}"
|
||||||
mkdir -p "${vpkgs_location}"
|
mkdir -p "${vpkgs_location}"
|
||||||
git clone https://github.com/void-linux/void-packages.git "${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 "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}"
|
source "${CONFIG_DIR}/${CONFIG_FILE}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user