This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove koolshare install limit
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#! /bin/sh | ||
export KSROOT=/koolshare | ||
source $KSROOT/scripts/base.sh | ||
alias echo_date='echo 【$(date +%Y年%m月%d日\ %X)】:' | ||
|
||
echo_date "====== Koolshare 软件中心离线安装限制 解除 ======" | ||
echo_date " Made by Sukka <https://skk.moe>" | ||
echo_date "* 开始解除 Koolshare 软件中心离线安装限制" | ||
|
||
sed -i 's/\tdetect_package/\t# detect_package/g' $KSROOT/scripts/ks_tar_install.sh | ||
|
||
echo_date "* 限制解除完成!" | ||
echo_date "* 你将会看见 Koolshare 软件中心提示安装失败,这是正常现象!" | ||
|
||
exit 1 |