Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
materials
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osak
materials
Commits
70d5b8c3
Commit
70d5b8c3
authored
Sep 15, 2012
by
Daniel Schulte
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of www.fsmpi.rwth-aachen.de:lip
parents
fa93bd80
1d30d470
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
shellscripte/usbrepo/infuse_offline_repo.sh
shellscripte/usbrepo/infuse_offline_repo.sh
+8
-2
No files found.
shellscripte/usbrepo/infuse_offline_repo.sh
View file @
70d5b8c3
#!/bin/bash
PKG_LIST
=
"cowsay fish get-flash-videos gnome haskell-platform java7-jdk imagemagick rxvt-unicode moc nethack-console scrot sl tmux vim xcowsay zsh zsh-doc texmaker gimp pidgin smplayer subversion git lftp inkscape"
MY_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
source
mount-stick-repo.sh
#detect mountpoint
if
[[
$UID
-ne
0
]]
;
then
echo
"
$0
must be run as root"
exit
1
fi
MPOINT
=
""
source
$MY_DIR
/mount-stick-repo.sh
#detect mountpoint
if
[
-n
$MPOINT
]
;
then
SOURCE_PATH
=
"
$MPOINT
"
#check if we have root perms?
MERGE_DIR
=
$(
mktemp
-d
)
CACHE_DIR
=
"/var/cache/apt/archives/"
ARCH
=
"i386"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment