#!/bin/bash
# Copyright (c) 2000-2021 Synology Inc. All rights reserved.
source /usr/syno/lib/systemd/scripts/syno-bootup-type-status-check.sh
BootupType=$(GetBootupType)
/bin/mkdir -p /run/synopkg/ -m 755
case $BootupType in
Migrate|SystemUpdate|NanoUpdate|FreshInstall)
/bin/touch /run/synopkg/.PkgAutoRepair
;;
esac