Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / remoting / host / installer / linux / debian / postinst
index 567495c..10d6fc5 100755 (executable)
@@ -40,4 +40,14 @@ case "$1" in
     ;;
 esac
 
+# Create defaults file.
+DEFAULTS_FILE="/etc/default/chrome-remote-desktop"
+if [ ! -e "$DEFAULTS_FILE" ]; then
+  echo 'repo_add_once="true"' > "$DEFAULTS_FILE"
+  echo 'repo_reenable_on_distupgrade="true"' >> "$DEFAULTS_FILE"
+fi
+
+# Run the cron job immediately to perform repository configuration.
+nohup sh /etc/cron.daily/chrome-remote-desktop > /dev/null 2>&1 &
+
 #DEBHELPER#