You are not logged in.

#41 2016-05-07 16:49:48

pepemopap
Member
Registered: 2015-09-30
Posts: 49

Re: automatic notification of updates?

damo wrote:

Typo on the first line - causes an error in the constructed filepath

un_dir="/var/cache/update-notification/"

Should be

un_dir="/var/cache/update-notification"

Actually, bash works with /dir1/dir2/file same as /dir1/dir2//file
Bue it may not be a good practice... maybe in some versions of bash doesnt works?

Last edited by pepemopap (2016-05-07 16:50:17)

Offline

#42 2016-05-07 17:15:58

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: automatic notification of updates?

pepemopap wrote:

...
Actually, bash works with /dir1/dir2/file same as /dir1/dir2//file
Bue it may not be a good practice... maybe in some versions of bash doesnt works?

Didn't work for me, which is why I posted wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#43 2016-05-07 22:15:18

pepemopap
Member
Registered: 2015-09-30
Posts: 49

Re: automatic notification of updates?

damo wrote:
pepemopap wrote:

...
Actually, bash works with /dir1/dir2/file same as /dir1/dir2//file
Bue it may not be a good practice... maybe in some versions of bash doesnt works?

Didn't work for me, which is why I posted wink

Then, obviusly, isnt a good practice.
Iam using bash 4.3.30, and you?

Offline

#44 2016-05-07 23:04:03

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: automatic notification of updates?

pepemopap wrote:

...
Iam using bash 4.3.30, and you?

$ bash --version
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

The error was "No such file or directory", which didn't reoccur after I changed the line.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#45 2016-05-08 02:34:14

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: automatic notification of updates?

damo wrote:
pepemopap wrote:

...
Iam using bash 4.3.30, and you?

$ bash --version
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

The error was "No such file or directory", which didn't reoccur after I changed the line.

It must have been some other typo. Double slashes work fine here in file paths - just tested with bash 4.3.30 and sh. (They don't look nice though.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#46 2016-05-08 06:22:51

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: automatic notification of updates?

johnraff wrote:

It must have been some other typo. Double slashes work fine here in file paths - just tested with bash 4.3.30 and sh. (They don't look nice though.)

same here (bash 4.3.42): i can change directories even with doubleslashes.
i haven't checked the conky script though; my guess is there's sth else amiss.

Offline

#47 2016-05-08 20:46:31

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: automatic notification of updates?

@pepemopap

Ref your tint2 config:  bl-tint2restart shows an error

execp_interval must be an integer >= 1

The tint2rc has

execp_interval = 0

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#48 2016-05-09 07:22:31

pepemopap
Member
Registered: 2015-09-30
Posts: 49

Re: automatic notification of updates?

damo wrote:

@pepemopap

Ref your tint2 config:  bl-tint2restart shows an error

execp_interval must be an integer >= 1

The tint2rc has

execp_interval = 0

Ummm, i have the same error, but in documentation says:

execp_interval = integer : The command is executed again after execp_interval seconds from the moment it exits. If zero, the command is executed only once. (since 0.12.4)

Im using 0.12.7

Offline

#49 2016-05-10 06:49:42

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: automatic notification of updates?

well if the actually currently present version of tint2 throws that message, i'd say that takes precedence?
but o9000 is active on the forums, and if they didn't read it already, i'm sure you can drop a line on one of the tint2 threads here and ask for clarification.

Offline

Board footer

Powered by FluxBB