Skip to content

Commit

Permalink
Fix Bugs in postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
zty199 committed Apr 7, 2021
1 parent de15fdb commit c2e0133
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deb_uos/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: dde-dock-graphics-plugin
Version: 1.8.2
Version: 1.8.2spark0
Maintainer: zty199 <[email protected]>
Section: utils
Source: https://github.com/mywhat/DDESwitchCard
Expand Down
2 changes: 1 addition & 1 deletion deb_uos/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

ln -s -f /opt/apps/dde-dock-graphics-plugin/files/plugins/libswitch_graphics_card.so /usr/lib/dde-dock/plugins/libswitch_graphics_card.so
ln -s -f /opt/apps/dde-dock-graphics-plugin/files/plugins/libswitch-graphics-card.so /usr/lib/dde-dock/plugins/libswitch-graphics-card.so

ln -s -f /opt/apps/dde-dock-graphics-plugin/files/share/pkexec/com.deepin.pkexec.dde-dock-graphics-plugin.policy /usr/share/polkit-1/actions/com.deepin.pkexec.dde-dock-graphics-plugin.policy
2 changes: 1 addition & 1 deletion deb_uos/opt/apps/dde-dock-graphics-plugin/info
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"appid": "dde-dock-graphics-plugin",
"name": "SwitchGraphicsCardPlugin",
"version": "1.8.2",
"version": "1.8.2spark0",
"arch": ["amd64"],
"permissions": {
"autostart": false,
Expand Down

0 comments on commit c2e0133

Please sign in to comment.