Skip to content

u/mplsmesh

In this archive from Jan 2011 to Aug 2016

3
posts
22
comments
1
media
101
score

Top posts

Top comments

I would probably wrap up the common parts of the url in a variable for easier maintainability. For example, the following

if test "$CARCH" == i686; then
    source=(https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-32bit/v7.3/fahviewer_${pkgver}_i386.deb)
    md5sums=('97d6bc7a1a1f350518f4e443370456ed')
else
    source=(https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-64bit/v7.3/fahviewer_${pkgver}_amd64.deb)
    md5sums=('97d6bc7a1a1f350518f4e443370456ed')
fi

becomes

common_url='https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-32bit/v7.3/fahviewer'
if test "$CARCH" == i686; then
    source=(${common_url}_${pkgver}_i386.deb)
    md5sums=('97d6bc7a1a1f350518f4e443370456ed')
else
    source=(${common_url}_${pkgver}_amd64.deb)
    md5sums=('97d6bc7a1a1f350518f4e443370456ed')
fi
16 points

I had an issue like this and the problem was that one of my kernel modules was panicking on resume from suspend. The symptom was that the screen was completely black on resume, I couldn't ssh into the machine, and nothing showed up in the logs.

I can't remember which module it was, but I believe it was related to my trackpad. I ultimately blacklisted the module (or maybe it was a package I uninstalled), and that fixed the issue.

I wish I had a more specific answer for you, but hopefully this can prune out fruitless searching.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.