home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve Pleroma compile script.
[config]
/
buster
/
setup_scripts
/
setup_desktop.sh
diff --git
a/buster/setup_scripts/setup_desktop.sh
b/buster/setup_scripts/setup_desktop.sh
index c6eef8b7e3cefce4bfa2887a40e1a68c63d9af25..3626d731117e714d68f5741ff48a716ae51da658 100755
(executable)
--- a/
buster/setup_scripts/setup_desktop.sh
+++ b/
buster/setup_scripts/setup_desktop.sh
@@
-15,12
+15,18
@@
system_name="$1"
config_tree_prefix="${HOME}/config/buster"
setup_scripts_dir="${config_tree_prefix}/setup_scripts"
cd "${setup_scripts_dir}"
config_tree_prefix="${HOME}/config/buster"
setup_scripts_dir="${config_tree_prefix}/setup_scripts"
cd "${setup_scripts_dir}"
-./setup.sh "${system_name}" ""
-./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" user "${system_name}"
+./setup.sh "${system_name}" ""
user desktop "${system_name}"
+./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" user
desktop
"${system_name}"
./install_for_target.sh user desktop "${system_name}"
./install_for_target.sh user desktop "${system_name}"
+# For hibernation on lid switch to work, we need a newer kernel on the EeePC,
+# see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919227>.
+if [ "${system_name}" = "eeepc" ]; then
+ apt -y install -t buster-backports linux-image-amd64
+fi
+
# Set up printer.
# Set up printer.
-lpadmin -p 'HP_Deskjet_F300_series' -m 'drv:///hpcups.drv/hp-deskjet_f300_series.ppd' -o 'OutputMode=NormalGray'
+lpadmin -p 'HP_Deskjet_F300_series' -m 'drv:///hpcups.drv/hp-deskjet_f300_series.ppd' -o 'OutputMode=NormalGray'
-E
service cups restart
# Install Firefox directly from Mozilla.
service cups restart
# Install Firefox directly from Mozilla.