wok-stable
annotate ovz-web-panel/stuff/hardware_server.rb.u @ rev 12024
pcmanfm2: new icon (Thanks moulefrite)
author |
Christophe Lincoln <pankso@slitaz.org> |
date |
Tue Mar 06 20:38:45 2012 +0100 (2012-03-06) |
parents |
|
children |
|
rev |
line source |
erjo@8059
|
1 --- ovz-web-panel-ori/app/models/hardware_server.rb Fri Nov 19 18:54:08 2010
|
erjo@8059
|
2 +++ ovz-web-panel/app/models/hardware_server.rb Fri Dec 31 23:59:40 2010
|
erjo@8059
|
3 @@ -174,7 +174,7 @@
|
erjo@8059
|
4 end
|
erjo@8059
|
5
|
erjo@8059
|
6 def sync_backups
|
erjo@8059
|
7 - backups_list = rpc_client.exec('ls', "--block-size=M -s #{backups_dir}")['output']
|
erjo@8059
|
8 + backups_list = rpc_client.exec('ls', "-h -s #{backups_dir}")['output']
|
erjo@8059
|
9 backups_list = backups_list.split("\n")
|
erjo@8059
|
10 # remove totals line
|
erjo@8059
|
11 backups_list.shift
|