1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin |
2 |
--- smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin 2009-04-08 11:55:18.000000000 +0200 |
3 |
+++ mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin 2009-05-17 23:13:12.000000000 +0200 |
4 |
@@ -1,8 +1,8 @@ |
5 |
{ |
6 |
$OUT = ""; |
7 |
- return unless (($share->prop('RecycleBin') || 'disabled') eq 'enabled'); |
8 |
+ return if (($share->prop('RecycleBin') || 'disabled') eq 'disabled'); |
9 |
|
10 |
- $share_vfs->{recycle}->{versions} = ($share->prop('KeepVersions') || 'disabled') eq 'enabled' ? "True" : "False"; |
11 |
+ $share_vfs->{recycle}->{versions} = ($share->prop('RecycleBin') || 'disabled') eq 'keep-versions' ? "True" : "False"; |
12 |
$share_vfs->{recycle}->{repository} = "Recycle Bin"; |
13 |
$share_vfs->{recycle}->{keeptree} = "True"; |
14 |
$share_vfs->{recycle}->{touch} = "True"; |
15 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares |
16 |
--- smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares 2009-05-17 23:14:17.000000000 +0200 |
17 |
+++ mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares 2009-05-17 23:13:49.000000000 +0200 |
18 |
@@ -76,7 +76,7 @@ |
19 |
|
20 |
<field type="select" |
21 |
id="recyclebin" |
22 |
- options="'enabled' => 'ENABLED', 'disabled' => 'DISABLED'"> |
23 |
+ options="'enabled' => 'DONT_KEEP_VERSIONS', 'disabled' => 'DISABLED', 'keep-versions' => 'KEEP_VERSIONS'"> |
24 |
<label>LABEL_RECYCLEBIN</label> |
25 |
<description>DESC_RECYCLEBIN</description> |
26 |
</field> |