Create mountpoint.
This commit is contained in:
parent
6ced5078cb
commit
8343912abb
2 changed files with 7 additions and 0 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
qasim (0.1.3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Create mountpoint if non-existant.
|
||||||
|
|
||||||
|
-- Glenn Y. Rolland <glenux@glenux.net> Sun, 07 Aug 2011 17:43:56 +0200
|
||||||
|
|
||||||
qasim (0.1.2) unstable; urgency=low
|
qasim (0.1.2) unstable; urgency=low
|
||||||
|
|
||||||
* Disabled rdebug & added another missing dependency.
|
* Disabled rdebug & added another missing dependency.
|
||||||
|
|
|
@ -143,6 +143,7 @@ module Qasim
|
||||||
#
|
#
|
||||||
# FIXME: test connexion with Net::SSH + timeout or ask password
|
# FIXME: test connexion with Net::SSH + timeout or ask password
|
||||||
@links.each do |name, remotepath|
|
@links.each do |name, remotepath|
|
||||||
|
FileUtils.mkdir_p localpath
|
||||||
localpath = File.join ENV['HOME'], "mnt", name
|
localpath = File.join ENV['HOME'], "mnt", name
|
||||||
cmd = "sshfs"
|
cmd = "sshfs"
|
||||||
cmd_args = [
|
cmd_args = [
|
||||||
|
|
Loading…
Reference in a new issue