Skip to content

Commit

Permalink
Prevention of upgrade errors caused by naver-whale-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeya committed Sep 28, 2024
1 parent c4626cc commit ae26039
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
hamonikr-system (8.1.8) unstable; urgency=medium

* Prevention of upgrade errors caused by naver-whale-stable

-- HamoniKR <[email protected]> Sat, 28 Sep 2024 14:25:49 +0900

hamonikr-system (8.1.7) unstable; urgency=medium

* Update monospace font setting
Expand Down
26 changes: 26 additions & 0 deletions etc/hamonikr/adjustments/10-disable-naver-whale-repo.execute
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

# Prevention of upgrade errors caused by naver-whale-stable
# 아래 이슈가 해결되기 전 까지는 비활성화 해야 업그레이드 시 오류가 없기 때문에 네이버 웨일 저장소 비활성화
# https://forum.whale.naver.com/topic/55770/?tab=comments#comment-134861

readonly SCRIPT_NAME=$(basename $0)

log() {
echo "$@"
logger -p user.notice -t $SCRIPT_NAME "$@"
}

err() {
echo "$@" >&2
logger -p user.error -t $SCRIPT_NAME [ERROR] "$@"
}

if [ -f "/etc/hamonikr/info" ] ; then

if [ -f /etc/apt/sources.list.d/naver-whale.list ] ; then
mv /etc/apt/sources.list.d/naver-whale.list /etc/apt/sources.list.d/naver-whale.list.bak
echo "Disabled /etc/apt/sources.list.d/naver-whale.list"
fi

fi

0 comments on commit ae26039

Please sign in to comment.