aboutsummaryrefslogtreecommitdiffstats
path: root/util/dmkdir
diff options
context:
space:
mode:
Diffstat (limited to 'util/dmkdir')
-rwxr-xr-xutil/dmkdir9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/dmkdir b/util/dmkdir
index ffb1932e5..72ab22431 100755
--- a/util/dmkdir
+++ b/util/dmkdir
@@ -46,3 +46,12 @@ if($argc != 2) {
];
$x = attach_mkdirp($channel,$channel['channel_hash'],$arr);
+
+ if($x['success']) {
+ $hash = $x['data']['hash'];
+
+ $sync = attach_export_data($channel,$hash);
+ if($sync) {
+ build_sync_packet($channel['channel_id'],array('file' => array($sync)));
+ }
+ } \ No newline at end of file