fix
This commit is contained in:
21
install.zsh
21
install.zsh
@@ -156,6 +156,16 @@ function at-repos-social-app-agent-patch() {
|
||||
popd
|
||||
}
|
||||
|
||||
function at-repos-social-app-disable-external-services-patch() {
|
||||
f=$d/repos/social-app/src/state/geolocation/const.ts
|
||||
p_=$d/patching/8980-social-app-disable-external-services.diff
|
||||
d_=$d/repos/social-app
|
||||
echo "applying patch: under ${f} for ${p_}"
|
||||
pushd ${d_}
|
||||
patch -p1 < ${p_}
|
||||
popd
|
||||
}
|
||||
|
||||
function at-repos-ozone-patch() {
|
||||
#DOMAIN=syu.is
|
||||
cd $d/repos
|
||||
@@ -246,7 +256,8 @@ case "`cat /etc/hostname`" in
|
||||
at-repos-social-app-icon-origin
|
||||
at-repos-social-app-avatar-write
|
||||
at-repos-social-app-agent-patch
|
||||
if [ -n "$1" ] && [ "$1" = "s" ];then
|
||||
at-repos-social-app-disable-external-services-patch
|
||||
if [ -n "$1" ] && [ "$1" = "social-app-custom" ];then
|
||||
at-social-app-custom-pages
|
||||
at-social-app-custom-screens
|
||||
at-social-app-aiat-config
|
||||
@@ -257,8 +268,12 @@ case "`cat /etc/hostname`" in
|
||||
at-repos-atproto-service-bsky-api-patch
|
||||
at-repos-atproto-service-pds-index-patch
|
||||
at-repos-ozone-patch
|
||||
at-repos-build-docker-atproto
|
||||
at-repos-build-docker-social
|
||||
if [ -n "$1" ] && [ "$1" = "s" ];then
|
||||
at-repos-push-docker
|
||||
exit
|
||||
fi
|
||||
at-repos-build-docker-atproto
|
||||
at-repos-push-docker
|
||||
;;
|
||||
esac
|
||||
@@ -336,3 +351,5 @@ function at-social-app-custom-screens() {
|
||||
|
||||
echo "custom screens applied"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user