oops, copy target missing
This commit is contained in:
@@ -158,7 +158,7 @@ _read_menu() {
|
|||||||
|
|
||||||
|
|
||||||
_read() {
|
_read() {
|
||||||
[[ -e "$STORAGE/$NAME" ]] || {
|
[[ -e "$STORAGE/$NAME" || -L "$STORAGE/$NAME" ]] || {
|
||||||
_msg "No such clipboard: '$NAME'"
|
_msg "No such clipboard: '$NAME'"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -193,7 +193,7 @@ _read_files() { # name, file
|
|||||||
mv "$STORAGE/$1" "$2"
|
mv "$STORAGE/$1" "$2"
|
||||||
else
|
else
|
||||||
echo Pasting "${1}$to"
|
echo Pasting "${1}$to"
|
||||||
cp -aT
|
cp -aT "$STORAGE/$1" "$2"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user