Create mountpoint.

This commit is contained in:
warbrain 2011-08-07 17:44:28 +02:00
parent 91b539545c
commit 3c38af560e
2 changed files with 7 additions and 0 deletions

6
debian/changelog vendored
View file

@ -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.

View file

@ -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 = [