Fix symlinking
This commit is contained in:
parent
20729c8676
commit
90bd7b5ae3
1 changed files with 3 additions and 3 deletions
|
@ -104,11 +104,11 @@ task_setup() {
|
||||||
# $1 - the .deb file to symlink
|
# $1 - the .deb file to symlink
|
||||||
_symlink_deb() {
|
_symlink_deb() {
|
||||||
source="$1";
|
source="$1";
|
||||||
destination="${dir_repo}/$(basename "${source}")";
|
destination="$(basename "${source}")";
|
||||||
|
|
||||||
if [ -f "${dir_repo}/$(basename "$1")" ]; then return; fi
|
if [ -f "${destination}" ]; then return; fi
|
||||||
|
|
||||||
ln -s "../${dir_sources}/$(basename "${source}")" "${destination}";
|
ln -s "${source}" "${destination}";
|
||||||
}
|
}
|
||||||
|
|
||||||
task_update() {
|
task_update() {
|
||||||
|
|
Loading…
Reference in a new issue