Disable GPG checks during installation
Longer sleep when installing panel
This commit is contained in:
parent
4ed7889d62
commit
63148a7eef
@ -307,6 +307,21 @@ sudo zypper --non-interactive install gcc-c++ libXxf86vm-devel webkit2gtk3-devel
|
||||
sudo mkdir -p /etc/systemd/system/systemd-suspend.service.d/
|
||||
sudo sh -c 'echo -e "[Service]\nEnvironment=\"SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false\"" > /etc/systemd/system/systemd-suspend.service.d/disable_freeze_user_session.conf'
|
||||
|
||||
# Set gpgcheck to 0 in /etc/zypp/zypp.conf to disable scary warnings no one pays attention to
|
||||
if ! grep -q "^gpgcheck = 0" /etc/zypp/zypp.conf; then
|
||||
echo "Disabling GPG checks for when installing packages..."
|
||||
sudo sed -i 's/gpgcheck = 1/gpgcheck = 0/g' /etc/zypp/zypp.conf
|
||||
|
||||
# Did it work?
|
||||
if grep -q "gpgcheck = 0" /etc/zypp/zypp.conf; then
|
||||
echo "GPG check is now disabled."
|
||||
else
|
||||
echo "Failed to disable GPG check."
|
||||
fi
|
||||
else
|
||||
echo "GPG checks for when installing packages are disabled."
|
||||
fi
|
||||
|
||||
# Tell the user we're done
|
||||
echo
|
||||
echo "All done!"
|
||||
|
@ -23,9 +23,9 @@ ln -sf $SCRIPT_DIR/gtk.css $XDG_CONFIG_HOME/gtk-3.0/gtk.css
|
||||
echo
|
||||
echo "Symlinking $SCRIPT_DIR/xfce4-panel.xml to $XDG_CONFIG_HOME/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml"
|
||||
xfce4-panel --quit
|
||||
sleep 3
|
||||
sleep 10
|
||||
ln -sf $SCRIPT_DIR/xfce4-panel.xml $XDG_CONFIG_HOME/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||
sleep 3
|
||||
sleep 1
|
||||
xfce4-panel &
|
||||
|
||||
# Screensaver and Screen Blanking
|
||||
|
Loading…
x
Reference in New Issue
Block a user