websoft9/cockpit/appstore/mk.sh
2023-06-02 14:02:20 +08:00

8 lines
171 B
Bash

#!/bin/bash
cd /data/stackhub-web/plugins/appstore/build
yarn build
while [ ! -d "/usr/share/cockpit/appstore" ]; do
sleep 1
done
cp -r ./* /usr/share/cockpit/appstore/