mirror of
https://gitee.com/amber-ce/amber-pm
synced 2026-05-14 02:00:20 +08:00
修复pixmaps问题
This commit is contained in:
@@ -125,22 +125,5 @@ ln -sfv /amber-ce-tools/bin-override/host-spawn-$(uname -m) /amber-ce-tools/bin-
|
||||
|
||||
exit 0
|
||||
|
||||
## install host-integration
|
||||
pushd /amber-ce-tools/ace-host-integration
|
||||
|
||||
dpkg-deb -Z xz -b . ../ace-host-integration.deb
|
||||
|
||||
popd
|
||||
apt install --reinstall /amber-ce-tools/ace-host-integration.deb -y
|
||||
|
||||
|
||||
cd /amber-ce-tools/data-dir/
|
||||
mkdir -p usr/share/templates
|
||||
ln -sfv ../../usr/share/applications/ .
|
||||
ln -sfv ../../usr/share/icons/ .
|
||||
ln -sfv ../../usr/share/templates/ .
|
||||
#ln -svf ../../usr/share/mime .
|
||||
ln -sfv ../../usr/share/pixmaps/ .
|
||||
rm -vf ./mime
|
||||
update-desktop-database /usr/share/applications || true
|
||||
update-mime-database /usr/share/mime || true
|
||||
|
||||
@@ -114,8 +114,10 @@ ln -sv ../../usr/share/applications $chrootEnvPath/amber-ce-tools/data-dir/
|
||||
ln -sv ../../usr/share/icons $chrootEnvPath/amber-ce-tools/data-dir/
|
||||
mkdir -p $chrootEnvPath/usr/share/templates
|
||||
ln -sfv ../../usr/share/templates/ $chrootEnvPath/amber-ce-tools/data-dir/
|
||||
mkdir -p $chrootEnvPath/usr/share/templates
|
||||
mkdir -p $chrootEnvPath/usr/share/mime
|
||||
ln -sfv ../../usr/share/mime/ $chrootEnvPath/amber-ce-tools/data-dir/
|
||||
mkdir -p $chrootEnvPath/usr/share/pixmaps
|
||||
ln -sfv ../../usr/share/pixmaps/ $chrootEnvPath/amber-ce-tools/data-dir/
|
||||
|
||||
chmod 777 -R $chrootEnvPath/usr/share/icons
|
||||
rm -vfr $chrootEnvPath/dev/*
|
||||
|
||||
Reference in New Issue
Block a user