PhyrePanel-mirror/installers/compile-installers.sh

50 lines
1.6 KiB
Bash
Raw Normal View History

2024-04-22 11:14:05 +00:00
# Compile ubuntu-20.04 installers
# get content from file
INSTALL_BASE=$(cat ubuntu-20.04/install-partial/install_base.sh)
2024-04-28 15:33:36 +00:00
INSTALL_LOG=$(cat ubuntu-20.04/install-partial/install_log.sh)
2024-04-22 11:14:05 +00:00
DOWNLOAD_WEB=$(cat ubuntu-20.04/install-partial/download_web.sh)
INSTALL_WEB=$(cat ubuntu-20.04/install-partial/install_web.sh)
# create installer
2024-04-24 13:57:03 +00:00
rm -rf ubuntu-20.04/install.sh
2024-04-22 11:14:05 +00:00
echo "$INSTALL_BASE" >> ubuntu-20.04/install.sh
2024-04-28 15:33:36 +00:00
echo "$INSTALL_LOG" >> ubuntu-20.04/install.sh
2024-04-22 11:14:05 +00:00
echo "$DOWNLOAD_WEB" >> ubuntu-20.04/install.sh
echo "$INSTALL_WEB" >> ubuntu-20.04/install.sh
# Compile ubuntu-22.04 installers
# get content from file
INSTALL_BASE=$(cat ubuntu-22.04/install-partial/install_base.sh)
2024-05-16 20:08:22 +00:00
INSTALL_LOG=$(cat ubuntu-20.04/install-partial/install_log.sh)
DOWNLOAD_WEB=$(cat ubuntu-20.04/install-partial/download_web.sh)
INSTALL_WEB=$(cat ubuntu-20.04/install-partial/install_web.sh)
2024-04-22 11:14:05 +00:00
# create installer
2024-04-24 13:57:03 +00:00
rm -rf ubuntu-22.04/install.sh
2024-04-22 11:14:05 +00:00
echo "$INSTALL_BASE" >> ubuntu-22.04/install.sh
2024-04-28 15:33:36 +00:00
echo "$INSTALL_LOG" >> ubuntu-22.04/install.sh
2024-04-22 11:14:05 +00:00
echo "$DOWNLOAD_WEB" >> ubuntu-22.04/install.sh
echo "$INSTALL_WEB" >> ubuntu-22.04/install.sh
2024-09-10 11:00:37 +00:00
# Compile ubuntu-24.04 installers
# get content from file
INSTALL_BASE=$(cat ubuntu-24.04/install-partial/install_base.sh)
INSTALL_LOG=$(cat ubuntu-20.04/install-partial/install_log.sh)
DOWNLOAD_WEB=$(cat ubuntu-20.04/install-partial/download_web.sh)
INSTALL_WEB=$(cat ubuntu-20.04/install-partial/install_web.sh)
# create installer
rm -rf ubuntu-24.04/install.sh
echo "$INSTALL_BASE" >> ubuntu-24.04/install.sh
echo "$INSTALL_LOG" >> ubuntu-24.04/install.sh
echo "$DOWNLOAD_WEB" >> ubuntu-24.04/install.sh
echo "$INSTALL_WEB" >> ubuntu-24.04/install.sh