mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-12-04 14:13:09 +09:00
Pull request: AGDNS-3555-fix-snap
Squashed commit of the following:
commit 7ef1e43efa666cfdb28a3eb1c7a262bf45b612a6
Merge: c2636cb66 95afd050e
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Fri Jan 16 11:01:05 2026 +0700
Merge remote-tracking branch 'origin/master' into AGDNS-3555-fix-snap
commit c2636cb662b1764e024dd2f7b6e024187baff843
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Wed Jan 14 09:54:03 2026 +0700
scripts: fix snap
This commit is contained in:
1 parent
95afd050e5
commit
128d8c90dd
1 file changed
+6
@@ -48,6 +48,12 @@ for arch in \
|
|||||||
cp './snap/local/adguard-home-web.sh' "$snap_dir"
|
cp './snap/local/adguard-home-web.sh' "$snap_dir"
|
||||||
cp -r './snap/gui' "${snap_dir}/meta/"
|
cp -r './snap/gui' "${snap_dir}/meta/"
|
||||||
|
|
||||||
|
# Set required permissions.
|
||||||
|
chmod o+rx "${snap_dir}/adguard-home-web.sh"
|
||||||
|
chmod o+rx "${snap_dir}/meta/gui"
|
||||||
|
chmod o+r "${snap_dir}/meta/gui/adguard-home-web.desktop"
|
||||||
|
chmod o+r "${snap_dir}/meta/gui/adguard-home-web.png"
|
||||||
|
|
||||||
# Create a snap.yaml file, setting the values.
|
# Create a snap.yaml file, setting the values.
|
||||||
sed \
|
sed \
|
||||||
-e 's/%VERSION%/'"$version"'/' \
|
-e 's/%VERSION%/'"$version"'/' \
|
||||||
|
|||||||
Reference in new issue
Block a user