diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 11:52:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 11:52:02 +0200 |
commit | 2fc9d0c03c6bf3424928141c9c9819e444c9f756 (patch) | |
tree | 6947a51a1e28389794bb8f5c14f8a705d3e663cc /bin/pkg | |
parent | 268fed8ec190b6b57fe15c7ce07e534cc96a1c43 (diff) |
bin/pkg: Fixed PKG_ROOT / PKG_PATH relation
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ if [[ -f $HOME/.pkg.conf ]] { # Default values [[ -n $PDIR ]] || PDIR="$HOME/packages" -[[ -n $PKG_ROOT ]] || PKG_ROOT="ssh://derf.homelinux.org/~/var/packages_root" +[[ -n $PKG_ROOT ]] || PKG_ROOT="ssh://derf.homelinux.org/home/derf/var/packages_root" [[ -n $CL_OPTIONS ]] || CL_OPTIONS=(-q) [[ -n $SILENT ]] || SILENT=0 info=$'\e[0;36m' @@ -212,7 +212,7 @@ list_type_local () { list_update_remote () { if [[ $PKG_PROTO = 'ssh' ]] { - scp -q $PKG_HOST:${$(cut -d / -f 4- <<< $PKG_ROOT)/'~/'}/.list .list-remote + scp -q $PKG_HOST:$PKG_PATH/.list .list-remote } elif [[ $PKG_PROTO = 'file' ]] { cp $PKG_ROOT/.list .list-remote } |