The Following User Says Thank You to ammyt For This Useful Post: | ||
![]() |
2011-12-31
, 09:09
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#32
|
You sure the tar version you're using is GNU?
If not, you can download this tar then:
Code:cp /where/you/downloaded/that/tar /usr/bin/tar
![]() |
2011-12-31
, 09:26
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#33
|
The Following User Says Thank You to ammyt For This Useful Post: | ||
![]() |
2011-12-31
, 09:49
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#34
|
The Following User Says Thank You to marmistrz For This Useful Post: | ||
![]() |
2011-12-31
, 11:17
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#35
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2011-12-31
, 11:57
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#36
|
Edit: I would also like to add postinstall and rm scripts if you could help me with that
#!/bin/sh cp -f /home/user/N9QTweak/Nokia_N9_QuickTweak_script_v2.9.pdf /home/user/MyDocs/Documents
#!/bin/sh devel-su user -c "cp -f /home/user/N9QTweak/Nokia_N9_QuickTweak_script_v2.9.pdf /home/user/MyDocs/Documents"
The Following User Says Thank You to Schturman For This Useful Post: | ||
![]() |
2011-12-31
, 12:32
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#37
|
You sure the tar version you're using is GNU?
If not, you can download this tar then:
Code:cp /where/you/downloaded/that/tar /usr/bin/tar
tar: unrecognized option '--format=gnu' BusyBox v1.19.0.git (MeeGo 3:1.19-8+0m6) multi-call binary. Usage: tar -[cxtzjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]... dpkg-deb: subprocess tar -cf returned error exit status 1
![]() |
2011-12-31
, 12:49
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#38
|
Not work..
I steel get the same error:
I checked this folder (/usr/bin) before using your file, we don't have here any file or folder named "tar" or GNU..Code:tar: unrecognized option '--format=gnu' BusyBox v1.19.0.git (MeeGo 3:1.19-8+0m6) multi-call binary. Usage: tar -[cxtzjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]... dpkg-deb: subprocess tar -cf returned error exit status 1
The Following User Says Thank You to ammyt For This Useful Post: | ||
![]() |
2011-12-31
, 13:23
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#39
|
Forget the commands I typed, just be sure to place the new tar in /usr/bin then chmod +x it.
I don't have an n9/50 thus I have no idea about aegis crap.
/usr/bin/tar: line 1: /opt/maemo/usr/bin/gnu/tar: not found gpkg-deb: subprocess tar -cf returned error exit status 127
![]() |
2011-12-31
, 14:35
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#40
|
As said, it is best to include the ls in the postinst install, that would be true optification
Just a heads-up, in the applications I have made, I only create a file in /usr/bin that executes the actual executable in /opt. Like, the file, say foo, in /usr/bin/ contains a one line command which is /opt/foopackage/foo which launches the actual application from /opt once that /usr/bin/foo file is executed.
How about that?
[NITDroid] [My Qtlockscreen Skins] [QBW HTC Sense on Your N900!] [CPU Power Control] [Debian Packaging] [Build Me!]
Youtube Channel - Subscribe!
Retired Dev - Thanks for all the fish!